#CDB97B#CDB97B

#CDB97B is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.084 H 92.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CDB97B
RGBrgb(205, 185, 123)
HSLhsl(45, 45%, 64%)
HSVhsv(45, 40%, 80%)
CMYKcmyk(0%, 9.8%, 40%, 19.6%)
CIE-LABlab(75.52, -1.62, 34.05)
CIE-LCHlch(75.52, 34.09, 92.73°)
OKLaboklab(78.85% -0.0033 0.0837)
OKLCHoklch(78.85% 0.084 92.3)
XYZxyz(46.1020, 49.1088, 25.7855)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB97B #7B8FCD
analogous
#CD907B #CDB97B #B8CD7B
triadic
#CDB97B #7BCDB9 #B97BCD
tetradic
#CDB97B #7BCD90 #7B8FCD #CD7BB8
square
#CDB97B #7BCD90 #7B8FCD #CD7BB8
split-complementary
#CDB97B #7BB8CD #907BCD
monochromatic
#957F38 #BCA14F #CDB97B #DED1A7 #EFE8D4

Accessibility & contrast

On white

1.94
#CDB97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CDB97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB97B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB97B#FFFFFF#000000##000000
##CDB97B1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B776
Deuteranopia (green-blind)
#CBBD7D
Tritanopia (blue-blind)
#D9B0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdb97b;
/* rgb */ color: rgb(205, 185, 123);
/* oklch */ color: oklch(78.8% 0.084 92.3);
Tailwind
colors: {
  custom: {
    50: '#ddcda2',
    500: '#cdb97b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb97b;
$custom-light: #ddcda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb97b",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 123
  },
  "hsl": {
    "h": 45.366,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.78845,
    "c": 0.08374,
    "h": 92.3
  },
  "luminance": 0.49107
}

Semantic roles & 50–950 ramp

primary
#CDB97B
secondary
#C4CBE0
accent
#4FB82D
background
#FDFCFA
surface
#FBF9F3
border
#D4D2CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDB97B

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

Preview Lab → · Contrast checker → · Palette generator →

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