#CCD97B#CCD97B

#CCD97B is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.119 H 115.4°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#CCD97B
RGBrgb(204, 217, 123)
HSLhsl(68, 55%, 67%)
HSVhsv(68, 43%, 85%)
CMYKcmyk(6%, 0%, 43.3%, 14.9%)
CIE-LABlab(83.91, -18.35, 44.68)
CIE-LCHlch(83.91, 48.31, 112.33°)
OKLaboklab(85.49% -0.0513 0.1078)
OKLCHoklch(85.49% 0.119 115.4)
XYZxyz(53.2904, 63.8937, 28.2604)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD97B #887BD9
analogous
#D9B77B #CCD97B #9DD97B
triadic
#CCD97B #7BCCD9 #D97BCC
tetradic
#CCD97B #7BD9B7 #887BD9 #D97B9D
square
#CCD97B #7BD9B7 #887BD9 #D97B9D
split-complementary
#CCD97B #7B9DD9 #B77BD9
monochromatic
#98A931 #BACB4B #CCD97B #DEE7AB #F1F4DA

Accessibility & contrast

On white

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

On black

13.78
#CCD97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD97B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD97B#FFFFFF#000000##000000
##CCD97B1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd97b;
/* rgb */ color: rgb(204, 217, 123);
/* oklch */ color: oklch(85.5% 0.119 115.4);
Tailwind
colors: {
  custom: {
    50: '#dde4a3',
    500: '#ccd97b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd97b;
$custom-light: #dde4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd97b",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 68.298,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85488,
    "c": 0.1194,
    "h": 115.4
  },
  "luminance": 0.63893
}

Semantic roles & 50–950 ramp

primary
#CCD97B
secondary
#594CAC
accent
#23C339
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD97B

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

Preview Lab → · Contrast checker → · Palette generator →

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