#CCD97A#CCD97A

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

Color values

HEX#CCD97A
RGBrgb(204, 217, 122)
HSLhsl(68, 56%, 66%)
HSVhsv(68, 44%, 85%)
CMYKcmyk(6%, 0%, 43.8%, 14.9%)
CIE-LABlab(83.90, -18.46, 45.16)
CIE-LCHlch(83.90, 48.78, 112.23°)
OKLaboklab(85.47% -0.0517 0.1088)
OKLCHoklch(85.47% 0.12 115.4)
XYZxyz(53.2281, 63.8688, 27.9324)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD97A #877AD9
analogous
#D9B77A #CCD97A #9DD97A
triadic
#CCD97A #7ACCD9 #D97ACC
tetradic
#CCD97A #7AD9B7 #877AD9 #D97A9D
square
#CCD97A #7AD9B7 #877AD9 #D97A9D
split-complementary
#CCD97A #7A9DD9 #B77AD9
monochromatic
#98A830 #BACB4A #CCD97A #DEE7AA #F1F4D9

Accessibility & contrast

On white

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

On black

13.77
#CCD97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD97A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD97A#FFFFFF#000000##000000
##CCD97A1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D072
Deuteranopia (green-blind)
#E4D27F
Tritanopia (blue-blind)
#D6CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd97a;
/* rgb */ color: rgb(204, 217, 122);
/* oklch */ color: oklch(85.5% 0.120 115.4);
Tailwind
colors: {
  custom: {
    50: '#dde4a2',
    500: '#ccd97a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd97a;
$custom-light: #dde4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd97a",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 68.211,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85474,
    "c": 0.12047,
    "h": 115.4
  },
  "luminance": 0.63868
}

Semantic roles & 50–950 ramp

primary
#CCD97A
secondary
#594CAC
accent
#22C338
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD97A

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

Preview Lab → · Contrast checker → · Palette generator →

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