#CDCA4E

A color in the Yellow, Gold family

#cdca4e is a color in the Yellow, Gold family: RGB(205, 202, 78), HSL(59°, 56%, 55%), CMYK(0%, 1%, 62%, 20%). Closest named color: darkkhaki. Contrast is 1.73:1 on white and 12.15:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cdca4e
RGBrgb(205 202 78)
RGB (legacy)rgb(205, 202, 78)
RGB %rgb(80% 79% 31%)
HSLhsl(59 56% 55%)
HSV / HSBhsv(59, 62%, 80%)
HWBhwb(59 31% 20%)
CMYKcmyk(0%, 1%, 62%, 20%)
CIELAB (D50)lab(79.83 -10.16 59.98)
LCHlch(79.83 60.84 99.61)
OKLaboklab(0.8182 -0.0443 0.1372)
OKLCHoklch(0.8182 0.1442 107.88)
Decimal13486670

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6.9
Closest web-safe color#cccc66
Hue59°
Saturation (HSL / HSV)56% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)74% / 76%
Relative luminance (WCAG)0.5577
Red / Green / Blue205 / 202 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 31.1 / -71.6 · As background with white / black text: Lc -35 / 72.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cdca4e;
  --color-brand-oklch: oklch(81.82% 0.1442 107.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 202 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdca4e] text-[#cdca4e] border-[#cdca4e]">