#CDB96D#CDB96D

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

Color values

HEX#CDB96D
RGBrgb(205, 185, 109)
HSLhsl(48, 49%, 62%)
HSVhsv(48, 47%, 80%)
CMYKcmyk(0%, 9.8%, 46.8%, 19.6%)
CIE-LABlab(75.32, -3.08, 40.99)
CIE-LCHlch(75.32, 41.10, 94.29°)
OKLaboklab(78.62% -0.0088 0.0987)
OKLCHoklch(78.62% 0.099 95.1)
XYZxyz(45.2874, 48.7829, 21.4956)
Luminance0.4878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB96D #6D81CD
analogous
#CD896D #CDB96D #B1CD6D
triadic
#CDB96D #6DCDB9 #B96DCD
tetradic
#CDB96D #6DCD89 #6D81CD #CD6DB1
square
#CDB96D #6DCD89 #6D81CD #CD6DB1
split-complementary
#CDB96D #6DB1CD #896DCD
monochromatic
#8F7B31 #BCA340 #CDB96D #DDCF9B #ECE5C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB96D#FFFFFF#000000##000000
##CDB96D1.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)
#C7B667
Deuteranopia (green-blind)
#CCBC70
Tritanopia (blue-blind)
#DAAFA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb96d;
/* rgb */ color: rgb(205, 185, 109);
/* oklch */ color: oklch(78.6% 0.099 95.1);
Tailwind
colors: {
  custom: {
    50: '#decd98',
    500: '#cdb96d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb96d;
$custom-light: #decd98;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb96d",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 109
  },
  "hsl": {
    "h": 47.5,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78618,
    "c": 0.09904,
    "h": 95.1
  },
  "luminance": 0.48781
}

Semantic roles & 50–950 ramp

primary
#CDB96D
secondary
#B9C0DD
accent
#48BC29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CDB96D

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

Preview Lab → · Contrast checker → · Palette generator →

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