#CDB94A#CDB94A

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

Color values

HEX#CDB94A
RGBrgb(205, 185, 74)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 64%, 80%)
CMYKcmyk(0%, 9.8%, 63.9%, 19.6%)
CIE-LABlab(74.93, -5.86, 57.13)
CIE-LCHlch(74.93, 57.43, 95.86°)
OKLaboklab(78.19% -0.0207 0.1299)
OKLCHoklch(78.19% 0.132 99.1)
XYZxyz(43.7637, 48.1734, 13.4704)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB94A #4A5ECD
analogous
#CD784A #CDB94A #9FCD4A
triadic
#CDB94A #4ACDB9 #B94ACD
tetradic
#CDB94A #4ACD78 #4A5ECD #CD4A9F
square
#CDB94A #4ACD78 #4A5ECD #CD4A9F
split-complementary
#CDB94A #4A9FCD #784ACD
monochromatic
#7B6D22 #AB982F #CDB94A #DACC7A #E7DEAA

Accessibility & contrast

On white

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

On black

10.63
#CDB94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB94A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB94A#FFFFFF#000000##000000
##CDB94A1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43D
Deuteranopia (green-blind)
#CFBC50
Tritanopia (blue-blind)
#DCACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb94a;
/* rgb */ color: rgb(205, 185, 74);
/* oklch */ color: oklch(78.2% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#cdb94a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb94a;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb94a",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 50.84,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.13157,
    "h": 99.1
  },
  "luminance": 0.48171
}

Semantic roles & 50–950 ramp

primary
#CDB94A
secondary
#9EA6D5
accent
#5FE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB94A

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

Preview Lab → · Contrast checker → · Palette generator →

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