#CDB96F#CDB96F

#CDB96F is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.097 H 94.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CDB96F
RGBrgb(205, 185, 111)
HSLhsl(47, 48%, 62%)
HSVhsv(47, 46%, 80%)
CMYKcmyk(0%, 9.8%, 45.9%, 19.6%)
CIE-LABlab(75.34, -2.88, 40.01)
CIE-LCHlch(75.34, 40.11, 94.12°)
OKLaboklab(78.65% -0.008 0.0966)
OKLCHoklch(78.65% 0.097 94.7)
XYZxyz(45.3963, 48.8265, 22.0690)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB96F #6F83CD
analogous
#CD8A6F #CDB96F #B2CD6F
triadic
#CDB96F #6FCDB9 #B96FCD
tetradic
#CDB96F #6FCD8A #6F83CD #CD6FB2
square
#CDB96F #6FCD8A #6F83CD #CD6FB2
split-complementary
#CDB96F #6FB2CD #8A6FCD
monochromatic
#907C32 #BDA342 #CDB96F #DDCF9C #EDE5CA

Accessibility & contrast

On white

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

On black

10.76
#CDB96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB96F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB96F#FFFFFF#000000##000000
##CDB96F1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B669
Deuteranopia (green-blind)
#CCBC72
Tritanopia (blue-blind)
#DAAFA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdb96f;
/* rgb */ color: rgb(205, 185, 111);
/* oklch */ color: oklch(78.6% 0.097 94.7);
Tailwind
colors: {
  custom: {
    50: '#decd99',
    500: '#cdb96f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb96f;
$custom-light: #decd99;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb96f",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 111
  },
  "hsl": {
    "h": 47.234,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78649,
    "c": 0.09692,
    "h": 94.7
  },
  "luminance": 0.48825
}

Semantic roles & 50–950 ramp

primary
#CDB96F
secondary
#BBC2DD
accent
#49BC2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDB96F

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

Preview Lab → · Contrast checker → · Palette generator →

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