#CDB97D#CDB97D

#CDB97D is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.081 H 91.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDB97D
RGBrgb(205, 185, 125)
HSLhsl(45, 44%, 65%)
HSVhsv(45, 39%, 80%)
CMYKcmyk(0%, 9.8%, 39%, 19.6%)
CIE-LABlab(75.55, -1.40, 33.05)
CIE-LCHlch(75.55, 33.08, 92.43°)
OKLaboklab(78.88% -0.0025 0.0815)
OKLCHoklch(78.88% 0.081 91.8)
XYZxyz(46.2285, 49.1593, 26.4516)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB97D #7D91CD
analogous
#CD917D #CDB97D #B9CD7D
triadic
#CDB97D #7DCDB9 #B97DCD
tetradic
#CDB97D #7DCD91 #7D91CD #CD7DB9
square
#CDB97D #7DCD91 #7D91CD #CD7DB9
split-complementary
#CDB97D #7DB9CD #917DCD
monochromatic
#967F3A #BCA151 #CDB97D #DED1A9 #EFE9D5

Accessibility & contrast

On white

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

On black

10.83
#CDB97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB97D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB97D#FFFFFF#000000##000000
##CDB97D1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CBBD7F
Tritanopia (blue-blind)
#D9B0AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdb97d;
/* rgb */ color: rgb(205, 185, 125);
/* oklch */ color: oklch(78.9% 0.081 91.8);
Tailwind
colors: {
  custom: {
    50: '#ddcda3',
    500: '#cdb97d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb97d;
$custom-light: #ddcda3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb97d",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 125
  },
  "hsl": {
    "h": 45,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.7888,
    "c": 0.08149,
    "h": 91.8
  },
  "luminance": 0.49158
}

Semantic roles & 50–950 ramp

primary
#CDB97D
secondary
#C5CCE1
accent
#50B82E
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CDB97D

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

Preview Lab → · Contrast checker → · Palette generator →

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