#CCE45A#CCE45A

#CCE45A is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.5% C 0.164 H 118.3°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#CCE45A
RGBrgb(204, 228, 90)
HSLhsl(70, 72%, 62%)
HSVhsv(70, 61%, 89%)
CMYKcmyk(10.5%, 0%, 60.5%, 10.6%)
CIE-LABlab(86.54, -26.59, 62.85)
CIE-LCHlch(86.54, 68.24, 112.93°)
OKLaboklab(87.48% -0.0776 0.1443)
OKLCHoklch(87.48% 0.164 118.3)
XYZxyz(54.4916, 69.0628, 20.1307)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE45A #725AE4
analogous
#E4B75A #CCE45A #87E45A
triadic
#CCE45A #5ACCE4 #E45ACC
tetradic
#CCE45A #5AE4B7 #725AE4 #E45A87
square
#CCE45A #5AE4B7 #725AE4 #E45A87
split-complementary
#CCE45A #5A87E4 #B75AE4
monochromatic
#90A81C #BCDB25 #CCE45A #DCED8F #EDF5C3

Accessibility & contrast

On white

1.42
#CCE45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#CCE45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE45A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE45A#FFFFFF#000000##000000
##CCE45A1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84A
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#D7D8C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce45a;
/* rgb */ color: rgb(204, 228, 90);
/* oklch */ color: oklch(87.5% 0.164 118.3);
Tailwind
colors: {
  custom: {
    50: '#deec8e',
    500: '#cce45a',
    950: '#000000',
  },
}
SCSS
$custom: #cce45a;
$custom-light: #deec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce45a",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 70.435,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87476,
    "c": 0.16378,
    "h": 118.3
  },
  "luminance": 0.69062
}

Semantic roles & 50–950 ramp

primary
#CCE45A
secondary
#4C38AA
accent
#12D433
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE45A

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

Preview Lab → · Contrast checker → · Palette generator →

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