#CDCE97#CDCE97

#CDCE97 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.073 H 108.7°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CDCE97
RGBrgb(205, 206, 151)
HSLhsl(61, 36%, 70%)
HSVhsv(61, 27%, 81%)
CMYKcmyk(0.5%, 0%, 26.7%, 19.2%)
CIE-LABlab(81.49, -9.09, 27.34)
CIE-LCHlch(81.49, 28.81, 108.39°)
OKLaboklab(83.72% -0.0233 0.0687)
OKLCHoklch(83.72% 0.073 108.7)
XYZxyz(52.8341, 59.3568, 37.9459)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE97 #9897CE
analogous
#CEB497 #CDCE97 #B1CE97
triadic
#CDCE97 #97CDCE #CE97CD
tetradic
#CDCE97 #97CEB4 #9897CE #CE97B1
square
#CDCE97 #97CEB4 #9897CE #CE97B1
split-complementary
#CDCE97 #97B1CE #B497CE
monochromatic
#9E9F4B #B9BA6D #CDCE97 #E1E2C1 #F5F5EA

Accessibility & contrast

On white

1.63
#CDCE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CDCE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE97
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE97#FFFFFF#000000##000000
##CDCE971.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C993
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#D5C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce97;
/* rgb */ color: rgb(205, 206, 151);
/* oklch */ color: oklch(83.7% 0.073 108.7);
Tailwind
colors: {
  custom: {
    50: '#dddcb6',
    500: '#cdce97',
    950: '#000000',
  },
}
SCSS
$custom: #cdce97;
$custom-light: #dddcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce97",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 151
  },
  "hsl": {
    "h": 61.091,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83719,
    "c": 0.07258,
    "h": 108.7
  },
  "luminance": 0.59356
}

Semantic roles & 50–950 ramp

primary
#CDCE97
secondary
#6766A3
accent
#37AF39
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCE97

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

Preview Lab → · Contrast checker → · Palette generator →

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