#CDB96A#CDB96A

#CDB96A is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.102 H 95.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CDB96A
RGBrgb(205, 185, 106)
HSLhsl(48, 50%, 61%)
HSVhsv(48, 48%, 80%)
CMYKcmyk(0%, 9.8%, 48.3%, 19.6%)
CIE-LABlab(75.28, -3.36, 42.45)
CIE-LCHlch(75.28, 42.58, 94.53°)
OKLaboklab(78.57% -0.0099 0.1017)
OKLCHoklch(78.57% 0.102 95.5)
XYZxyz(45.1287, 48.7194, 20.6595)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB96A #6A7ECD
analogous
#CD876A #CDB96A #AFCD6A
triadic
#CDB96A #6ACDB9 #B96ACD
tetradic
#CDB96A #6ACD87 #6A7ECD #CD6AAF
square
#CDB96A #6ACD87 #6A7ECD #CD6AAF
split-complementary
#CDB96A #6AAFCD #876ACD
monochromatic
#8D7A2F #BBA23F #CDB96A #DCCF98 #ECE4C6

Accessibility & contrast

On white

1.95
#CDB96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CDB96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB96A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB96A#FFFFFF#000000##000000
##CDB96A1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B663
Deuteranopia (green-blind)
#CDBC6D
Tritanopia (blue-blind)
#DAAEA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb96a;
/* rgb */ color: rgb(205, 185, 106);
/* oklch */ color: oklch(78.6% 0.102 95.5);
Tailwind
colors: {
  custom: {
    50: '#decd96',
    500: '#cdb96a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb96a;
$custom-light: #decd96;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb96a",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 106
  },
  "hsl": {
    "h": 47.879,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78574,
    "c": 0.10218,
    "h": 95.5
  },
  "luminance": 0.48718
}

Semantic roles & 50–950 ramp

primary
#CDB96A
secondary
#B7BEDC
accent
#46BD28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDB96A

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

Preview Lab → · Contrast checker → · Palette generator →

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