#CDB94F#CDB94F

#CDB94F is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.128 H 98.7°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CDB94F
RGBrgb(205, 185, 79)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 61%, 80%)
CMYKcmyk(0%, 9.8%, 61.5%, 19.6%)
CIE-LABlab(74.98, -5.54, 54.98)
CIE-LCHlch(74.98, 55.26, 95.75°)
OKLaboklab(78.24% -0.0192 0.1261)
OKLCHoklch(78.24% 0.128 98.7)
XYZxyz(43.9389, 48.2435, 14.3931)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB94F #4F63CD
analogous
#CD7A4F #CDB94F #A2CD4F
triadic
#CDB94F #4FCDB9 #B94FCD
tetradic
#CDB94F #4FCD7A #4F63CD #CD4FA2
square
#CDB94F #4FCD7A #4F63CD #CD4FA2
split-complementary
#CDB94F #4FA2CD #7A4FCD
monochromatic
#7E7024 #AE9A31 #CDB94F #DBCC7F #E8DFAE

Accessibility & contrast

On white

1.97
#CDB94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CDB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB94F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB94F#FFFFFF#000000##000000
##CDB94F1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB443
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb94f;
/* rgb */ color: rgb(205, 185, 79);
/* oklch */ color: oklch(78.2% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd84',
    500: '#cdb94f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb94f;
$custom-light: #dfcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb94f",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 50.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78242,
    "c": 0.12753,
    "h": 98.7
  },
  "luminance": 0.48242
}

Semantic roles & 50–950 ramp

primary
#CDB94F
secondary
#A2AAD6
accent
#61DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB94F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CDB94F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva