#CCE952#CCE952

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

Color values

HEX#CCE952
RGBrgb(204, 233, 82)
HSLhsl(72, 77%, 62%)
HSVhsv(72, 65%, 91%)
CMYKcmyk(12.4%, 0%, 64.8%, 8.6%)
CIE-LABlab(87.84, -29.49, 67.47)
CIE-LCHlch(87.84, 73.63, 113.61°)
OKLaboklab(88.5% -0.0864 0.1529)
OKLCHoklch(88.5% 0.176 119.5)
XYZxyz(55.5647, 71.7247, 18.8981)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE952 #6F52E9
analogous
#E9BB52 #CCE952 #81E952
triadic
#CCE952 #52CCE9 #E952CC
tetradic
#CCE952 #52E9BB #6F52E9 #E95281
square
#CCE952 #52E9BB #6F52E9 #E95281
split-complementary
#CCE952 #5281E9 #BB52E9
monochromatic
#8EAB16 #BBE11D #CCE952 #DCF088 #ECF7BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE952#FFFFFF#000000##000000
##CCE9521.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)
#F7DC3D
Deuteranopia (green-blind)
#F4DD5D
Tritanopia (blue-blind)
#D7DDCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce952;
/* rgb */ color: rgb(204, 233, 82);
/* oklch */ color: oklch(88.5% 0.176 119.5);
Tailwind
colors: {
  custom: {
    50: '#dff08a',
    500: '#cce952',
    950: '#000000',
  },
}
SCSS
$custom: #cce952;
$custom-light: #dff08a;
$custom-dark: #000000;
JSON
{
  "hex": "#cce952",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 71.523,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88502,
    "c": 0.17566,
    "h": 119.5
  },
  "luminance": 0.71724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE952

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

Preview Lab → · Contrast checker → · Palette generator →

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