#CCD96E#CCD96E

#CCD96E is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.133 H 115.0°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CCD96E
RGBrgb(204, 217, 110)
HSLhsl(67, 58%, 64%)
HSVhsv(67, 49%, 85%)
CMYKcmyk(6%, 0%, 49.3%, 14.9%)
CIE-LABlab(83.75, -19.64, 50.75)
CIE-LCHlch(83.75, 54.41, 111.16°)
OKLaboklab(85.31% -0.0561 0.1203)
OKLCHoklch(85.31% 0.133 115)
XYZxyz(52.5299, 63.5896, 24.2556)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD96E #7B6ED9
analogous
#D9B16E #CCD96E #97D96E
triadic
#CCD96E #6ECCD9 #D96ECC
tetradic
#CCD96E #6ED9B1 #7B6ED9 #D96E97
square
#CCD96E #6ED9B1 #7B6ED9 #D96E97
split-complementary
#CCD96E #6E97D9 #B16ED9
monochromatic
#94A22A #BBCC3E #CCD96E #DDE69E #EEF2CF

Accessibility & contrast

On white

1.53
#CCD96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CCD96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD96E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD96E#FFFFFF#000000##000000
##CCD96E1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D064
Deuteranopia (green-blind)
#E5D274
Tritanopia (blue-blind)
#D7CFC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd96e;
/* rgb */ color: rgb(204, 217, 110);
/* oklch */ color: oklch(85.3% 0.133 115.0);
Tailwind
colors: {
  custom: {
    50: '#dde49a',
    500: '#ccd96e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd96e;
$custom-light: #dde49a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd96e",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 67.29,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8531,
    "c": 0.13274,
    "h": 115
  },
  "luminance": 0.63589
}

Semantic roles & 50–950 ramp

primary
#CCD96E
secondary
#5145A6
accent
#1FC634
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD96E

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

Preview Lab → · Contrast checker → · Palette generator →

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