#CCD97E#CCD97E

#CCD97E is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.116 H 115.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CCD97E
RGBrgb(204, 217, 126)
HSLhsl(69, 54%, 67%)
HSVhsv(69, 42%, 85%)
CMYKcmyk(6%, 0%, 41.9%, 14.9%)
CIE-LABlab(83.95, -18.03, 43.26)
CIE-LCHlch(83.95, 46.87, 112.63°)
OKLaboklab(85.53% -0.0501 0.1048)
OKLCHoklch(85.53% 0.116 115.6)
XYZxyz(53.4810, 63.9700, 29.2647)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD97E #8B7ED9
analogous
#D9B87E #CCD97E #9FD97E
triadic
#CCD97E #7ECCD9 #D97ECC
tetradic
#CCD97E #7ED9B8 #8B7ED9 #D97E9F
square
#CCD97E #7ED9B8 #8B7ED9 #D97E9F
split-complementary
#CCD97E #7E9FD9 #B87ED9
monochromatic
#99AA32 #B9CB4F #CCD97E #DFE7AD #F1F5DD

Accessibility & contrast

On white

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

On black

13.79
#CCD97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD97E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD97E#FFFFFF#000000##000000
##CCD97E1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D177
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#D5D0C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd97e;
/* rgb */ color: rgb(204, 217, 126);
/* oklch */ color: oklch(85.5% 0.116 115.6);
Tailwind
colors: {
  custom: {
    50: '#dde4a5',
    500: '#ccd97e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd97e;
$custom-light: #dde4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd97e",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 68.571,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85533,
    "c": 0.11618,
    "h": 115.6
  },
  "luminance": 0.63969
}

Semantic roles & 50–950 ramp

primary
#CCD97E
secondary
#5B4EAE
accent
#24C23A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD97E

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

Preview Lab → · Contrast checker → · Palette generator →

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