#CCEA5B#CCEA5B

#CCEA5B is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.8% C 0.170 H 120.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#CCEA5B
RGBrgb(204, 234, 91)
HSLhsl(73, 77%, 64%)
HSVhsv(73, 61%, 92%)
CMYKcmyk(12.8%, 0%, 61.1%, 8.2%)
CIE-LABlab(88.18, -29.35, 64.22)
CIE-LCHlch(88.18, 70.61, 114.56°)
OKLaboklab(88.8% -0.0852 0.1473)
OKLCHoklch(88.8% 0.17 120)
XYZxyz(56.2138, 72.4385, 20.9161)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEA5B #795BEA
analogous
#EAC05B #CCEA5B #84EA5B
triadic
#CCEA5B #5BCCEA #EA5BCC
tetradic
#CCEA5B #5BEAC0 #795BEA #EA5B84
square
#CCEA5B #5BEAC0 #795BEA #EA5B84
split-complementary
#CCEA5B #5B84EA #C05BEA
monochromatic
#93B417 #BBE325 #CCEA5B #DDF191 #EEF8C8

Accessibility & contrast

On white

1.36
#CCEA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#CCEA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEA5B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEA5B#FFFFFF#000000##000000
##CCEA5B1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD4A
Deuteranopia (green-blind)
#F4DE65
Tritanopia (blue-blind)
#D7DECC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ccea5b;
/* rgb */ color: rgb(204, 234, 91);
/* oklch */ color: oklch(88.8% 0.170 120.0);
Tailwind
colors: {
  custom: {
    50: '#def08f',
    500: '#ccea5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccea5b;
$custom-light: #def08f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccea5b",
  "rgb": {
    "r": 204,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 72.587,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.888,
    "c": 0.17013,
    "h": 120
  },
  "luminance": 0.72438
}

Semantic roles & 50–950 ramp

primary
#CCEA5B
secondary
#5036B4
accent
#0CDA37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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