#CCE954#CCE954

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

Color values

HEX#CCE954
RGBrgb(204, 233, 84)
HSLhsl(72, 77%, 62%)
HSVhsv(72, 64%, 91%)
CMYKcmyk(12.4%, 0%, 63.9%, 8.6%)
CIE-LABlab(87.85, -29.36, 66.70)
CIE-LCHlch(87.85, 72.87, 113.76°)
OKLaboklab(88.52% -0.0859 0.1516)
OKLCHoklch(88.52% 0.174 119.5)
XYZxyz(55.6419, 71.7556, 19.3047)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE954 #7154E9
analogous
#E9BC54 #CCE954 #82E954
triadic
#CCE954 #54CCE9 #E954CC
tetradic
#CCE954 #54E9BC #7154E9 #E95482
square
#CCE954 #54E9BC #7154E9 #E95482
split-complementary
#CCE954 #5482E9 #BC54E9
monochromatic
#8FAC16 #BCE21E #CCE954 #DCF08A #ECF7C0

Accessibility & contrast

On white

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

On black

15.35
#CCE954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE954
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE954#FFFFFF#000000##000000
##CCE9541.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce954;
/* rgb */ color: rgb(204, 233, 84);
/* oklch */ color: oklch(88.5% 0.174 119.5);
Tailwind
colors: {
  custom: {
    50: '#dff08b',
    500: '#cce954',
    950: '#000000',
  },
}
SCSS
$custom: #cce954;
$custom-light: #dff08b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce954",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 84
  },
  "hsl": {
    "h": 71.678,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88518,
    "c": 0.17423,
    "h": 119.5
  },
  "luminance": 0.71755
}

Semantic roles & 50–950 ramp

primary
#CCE954
secondary
#4B34AD
accent
#0CD934
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE954

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

Preview Lab → · Contrast checker → · Palette generator →

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