#CCEA42#CCEA42

#CCEA42 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.6% C 0.187 H 119.3°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#CCEA42
RGBrgb(204, 234, 66)
HSLhsl(71, 80%, 59%)
HSVhsv(71, 72%, 92%)
CMYKcmyk(12.8%, 0%, 71.8%, 8.2%)
CIE-LABlab(88.01, -30.86, 73.45)
CIE-LCHlch(88.01, 79.67, 112.79°)
OKLaboklab(88.61% -0.0916 0.1631)
OKLCHoklch(88.61% 0.187 119.3)
XYZxyz(55.3091, 72.0767, 16.1517)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEA42 #6042EA
analogous
#EAB442 #CCEA42 #78EA42
triadic
#CCEA42 #42CCEA #EA42CC
tetradic
#CCEA42 #42EAB4 #6042EA #EA4278
square
#CCEA42 #42EAB4 #6042EA #EA4278
split-complementary
#CCEA42 #4278EA #B442EA
monochromatic
#86A012 #B5D718 #CCEA42 #DBF079 #EAF6B0

Accessibility & contrast

On white

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

On black

15.42
#CCEA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEA42
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEA42#FFFFFF#000000##000000
##CCEA421.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD21
Deuteranopia (green-blind)
#F6DD50
Tritanopia (blue-blind)
#D8DDCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ccea42;
/* rgb */ color: rgb(204, 234, 66);
/* oklch */ color: oklch(88.6% 0.187 119.3);
Tailwind
colors: {
  custom: {
    50: '#dff081',
    500: '#ccea42',
    950: '#000000',
  },
}
SCSS
$custom: #ccea42;
$custom-light: #dff081;
$custom-dark: #000000;
JSON
{
  "hex": "#ccea42",
  "rgb": {
    "r": 204,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 70.714,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.88605,
    "c": 0.18709,
    "h": 119.3
  },
  "luminance": 0.72076
}

Semantic roles & 50–950 ramp

primary
#CCEA42
secondary
#432EA2
accent
#31F655
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #CCEA42

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

Preview Lab → · Contrast checker → · Palette generator →

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