#CCE851#CCE851

#CCE851 is a very light, vivid yellow-green. Relative luminance 0.711; OKLCH L 88.3% C 0.175 H 119.2°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#CCE851
RGBrgb(204, 232, 81)
HSLhsl(71, 77%, 61%)
HSVhsv(71, 65%, 91%)
CMYKcmyk(12.1%, 0%, 65.1%, 9%)
CIE-LABlab(87.56, -29.09, 67.56)
CIE-LCHlch(87.56, 73.56, 113.29°)
OKLaboklab(88.27% -0.0854 0.153)
OKLCHoklch(88.27% 0.175 119.2)
XYZxyz(55.2446, 71.1450, 18.6050)
Luminance0.7115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE851 #6D51E8
analogous
#E8B951 #CCE851 #81E851
triadic
#CCE851 #51CCE8 #E851CC
tetradic
#CCE851 #51E8B9 #6D51E8 #E85181
square
#CCE851 #51E8B9 #6D51E8 #E85181
split-complementary
#CCE851 #5181E8 #B951E8
monochromatic
#8DA816 #BBDE1D #CCE851 #DCEF87 #ECF6BD

Accessibility & contrast

On white

1.38
#CCE851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#CCE851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE851
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE851#FFFFFF#000000##000000
##CCE8511.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3C
Deuteranopia (green-blind)
#F3DC5C
Tritanopia (blue-blind)
#D7DCC9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce851;
/* rgb */ color: rgb(204, 232, 81);
/* oklch */ color: oklch(88.3% 0.175 119.2);
Tailwind
colors: {
  custom: {
    50: '#dfef89',
    500: '#cce851',
    950: '#000000',
  },
}
SCSS
$custom: #cce851;
$custom-light: #dfef89;
$custom-dark: #000000;
JSON
{
  "hex": "#cce851",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 81
  },
  "hsl": {
    "h": 71.126,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88274,
    "c": 0.17521,
    "h": 119.2
  },
  "luminance": 0.71145
}

Semantic roles & 50–950 ramp

primary
#CCE851
secondary
#4933AA
accent
#0DD933
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE851

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

Preview Lab → · Contrast checker → · Palette generator →

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