#CDD97B#CDD97B

#CDD97B is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.119 H 114.9°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#CDD97B
RGBrgb(205, 217, 123)
HSLhsl(68, 55%, 67%)
HSVhsv(68, 43%, 85%)
CMYKcmyk(5.5%, 0%, 43.3%, 14.9%)
CIE-LABlab(83.98, -17.96, 44.79)
CIE-LCHlch(83.98, 48.26, 111.85°)
OKLaboklab(85.57% -0.0502 0.1081)
OKLCHoklch(85.57% 0.119 114.9)
XYZxyz(53.5654, 64.0355, 28.2733)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD97B #877BD9
analogous
#D9B67B #CDD97B #9ED97B
triadic
#CDD97B #7BCDD9 #D97BCD
tetradic
#CDD97B #7BD9B6 #877BD9 #D97B9E
square
#CDD97B #7BD9B6 #877BD9 #D97B9E
split-complementary
#CDD97B #7B9ED9 #B67BD9
monochromatic
#9AA931 #BBCB4B #CDD97B #DFE7AB #F1F4DA

Accessibility & contrast

On white

1.52
#CDD97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#CDD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD97B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD97B#FFFFFF#000000##000000
##CDD97B1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D173
Deuteranopia (green-blind)
#E4D280
Tritanopia (blue-blind)
#D7CFC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd97b;
/* rgb */ color: rgb(205, 217, 123);
/* oklch */ color: oklch(85.6% 0.119 114.9);
Tailwind
colors: {
  custom: {
    50: '#dee4a3',
    500: '#cdd97b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd97b;
$custom-light: #dee4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd97b",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 67.66,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85565,
    "c": 0.11916,
    "h": 114.9
  },
  "luminance": 0.64035
}

Semantic roles & 50–950 ramp

primary
#CDD97B
secondary
#584CAC
accent
#23C337
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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