#CDCA96#CDCA96

#CDCA96 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.069 H 105.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CDCA96
RGBrgb(205, 202, 150)
HSLhsl(57, 35%, 70%)
HSVhsv(57, 27%, 80%)
CMYKcmyk(0%, 1.5%, 26.8%, 19.6%)
CIE-LABlab(80.42, -7.17, 26.42)
CIE-LCHlch(80.42, 27.37, 105.19°)
OKLaboklab(82.87% -0.0179 0.0665)
OKLCHoklch(82.87% 0.069 105)
XYZxyz(51.8025, 57.4231, 37.2031)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA96 #9699CD
analogous
#CDAF96 #CDCA96 #B5CD96
triadic
#CDCA96 #96CDCA #CA96CD
tetradic
#CDCA96 #96CDAF #9699CD #CD96B5
square
#CDCA96 #96CDAF #9699CD #CD96B5
split-complementary
#CDCA96 #96B5CD #AF96CD
monochromatic
#9E994B #B9B56D #CDCA96 #E1DFBF #F4F4E9

Accessibility & contrast

On white

1.68
#CDCA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CDCA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA96
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA96#FFFFFF#000000##000000
##CDCA961.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C693
Deuteranopia (green-blind)
#D5C998
Tritanopia (blue-blind)
#D5C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca96;
/* rgb */ color: rgb(205, 202, 150);
/* oklch */ color: oklch(82.9% 0.069 105.0);
Tailwind
colors: {
  custom: {
    50: '#dddab5',
    500: '#cdca96',
    950: '#000000',
  },
}
SCSS
$custom: #cdca96;
$custom-light: #dddab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca96",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 150
  },
  "hsl": {
    "h": 56.727,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.06886,
    "h": 105
  },
  "luminance": 0.57422
}

Semantic roles & 50–950 ramp

primary
#CDCA96
secondary
#6568A2
accent
#3EAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA96

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

Preview Lab → · Contrast checker → · Palette generator →

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