#CCEA5A#CCEA5A

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

Color values

HEX#CCEA5A
RGBrgb(204, 234, 90)
HSLhsl(73, 77%, 64%)
HSVhsv(73, 62%, 92%)
CMYKcmyk(12.8%, 0%, 61.5%, 8.2%)
CIE-LABlab(88.17, -29.42, 64.62)
CIE-LCHlch(88.17, 71.00, 114.48°)
OKLaboklab(88.79% -0.0855 0.148)
OKLCHoklch(88.79% 0.171 120)
XYZxyz(56.1709, 72.4214, 20.6905)
Luminance0.7242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEA5A #785AEA
analogous
#EAC05A #CCEA5A #84EA5A
triadic
#CCEA5A #5ACCEA #EA5ACC
tetradic
#CCEA5A #5AEAC0 #785AEA #EA5A84
square
#CCEA5A #5AEAC0 #785AEA #EA5A84
split-complementary
#CCEA5A #5A84EA #C05AEA
monochromatic
#92B317 #BBE324 #CCEA5A #DDF190 #EEF8C7

Accessibility & contrast

On white

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

On black

15.48
#CCEA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEA5A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEA5A#FFFFFF#000000##000000
##CCEA5A1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccea5a;
/* rgb */ color: rgb(204, 234, 90);
/* oklch */ color: oklch(88.8% 0.171 120.0);
Tailwind
colors: {
  custom: {
    50: '#def08e',
    500: '#ccea5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccea5a;
$custom-light: #def08e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccea5a",
  "rgb": {
    "r": 204,
    "g": 234,
    "b": 90
  },
  "hsl": {
    "h": 72.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88791,
    "c": 0.17091,
    "h": 120
  },
  "luminance": 0.72421
}

Semantic roles & 50–950 ramp

primary
#CCEA5A
secondary
#4F35B3
accent
#0CDA37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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