#CCE951#CCE951

#CCE951 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.5% C 0.176 H 119.4°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#CCE951
RGBrgb(204, 233, 81)
HSLhsl(71, 78%, 62%)
HSVhsv(71, 65%, 91%)
CMYKcmyk(12.4%, 0%, 65.2%, 8.6%)
CIE-LABlab(87.83, -29.55, 67.85)
CIE-LCHlch(87.83, 74.00, 113.54°)
OKLaboklab(88.49% -0.0867 0.1536)
OKLCHoklch(88.49% 0.176 119.4)
XYZxyz(55.5269, 71.7096, 18.6991)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE951 #6E51E9
analogous
#E9BA51 #CCE951 #80E951
triadic
#CCE951 #51CCE9 #E951CC
tetradic
#CCE951 #51E9BA #6E51E9 #E95180
square
#CCE951 #51E9BA #6E51E9 #E95180
split-complementary
#CCE951 #5180E9 #BA51E9
monochromatic
#8EAA16 #BBE01C #CCE951 #DCF087 #ECF7BE

Accessibility & contrast

On white

1.37
#CCE951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#CCE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE951
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE951#FFFFFF#000000##000000
##CCE9511.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#D7DDCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce951;
/* rgb */ color: rgb(204, 233, 81);
/* oklch */ color: oklch(88.5% 0.176 119.4);
Tailwind
colors: {
  custom: {
    50: '#dff089',
    500: '#cce951',
    950: '#000000',
  },
}
SCSS
$custom: #cce951;
$custom-light: #dff089;
$custom-dark: #000000;
JSON
{
  "hex": "#cce951",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 71.447,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88493,
    "c": 0.17637,
    "h": 119.4
  },
  "luminance": 0.71709
}

Semantic roles & 50–950 ramp

primary
#CCE951
secondary
#4A33AB
accent
#0CDA33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE951

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

Preview Lab → · Contrast checker → · Palette generator →

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