#CCE959#CCE959

#CCE959 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.6% C 0.170 H 119.7°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#CCE959
RGBrgb(204, 233, 89)
HSLhsl(72, 77%, 63%)
HSVhsv(72, 62%, 91%)
CMYKcmyk(12.4%, 0%, 61.8%, 8.6%)
CIE-LABlab(87.89, -29.02, 64.73)
CIE-LCHlch(87.89, 70.94, 114.15°)
OKLaboklab(88.56% -0.0844 0.1481)
OKLCHoklch(88.56% 0.17 119.7)
XYZxyz(55.8448, 71.8367, 20.3732)
Luminance0.7184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE959 #7659E9
analogous
#E9BE59 #CCE959 #84E959
triadic
#CCE959 #59CCE9 #E959CC
tetradic
#CCE959 #59E9BE #7659E9 #E95984
square
#CCE959 #59E9BE #7659E9 #E95984
split-complementary
#CCE959 #5984E9 #BE59E9
monochromatic
#91B017 #BBE223 #CCE959 #DDF08F #EDF7C5

Accessibility & contrast

On white

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

On black

15.37
#CCE959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE959
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE959#FFFFFF#000000##000000
##CCE9591.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD47
Deuteranopia (green-blind)
#F3DD63
Tritanopia (blue-blind)
#D7DDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce959;
/* rgb */ color: rgb(204, 233, 89);
/* oklch */ color: oklch(88.6% 0.170 119.7);
Tailwind
colors: {
  custom: {
    50: '#def08e',
    500: '#cce959',
    950: '#000000',
  },
}
SCSS
$custom: #cce959;
$custom-light: #def08e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce959",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 72.083,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88562,
    "c": 0.17049,
    "h": 119.7
  },
  "luminance": 0.71836
}

Semantic roles & 50–950 ramp

primary
#CCE959
secondary
#4E35B1
accent
#0DD936
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCE959

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

Preview Lab → · Contrast checker → · Palette generator →

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