#CCE45F#CCE45F

#CCE45F is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.5% C 0.160 H 118.4°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#CCE45F
RGBrgb(204, 228, 95)
HSLhsl(71, 71%, 63%)
HSVhsv(71, 58%, 89%)
CMYKcmyk(10.5%, 0%, 58.3%, 10.6%)
CIE-LABlab(86.58, -26.22, 60.78)
CIE-LCHlch(86.58, 66.19, 113.34°)
OKLaboklab(87.53% -0.0761 0.1405)
OKLCHoklch(87.53% 0.16 118.4)
XYZxyz(54.7116, 69.1508, 21.2895)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE45F #775FE4
analogous
#E4B95F #CCE45F #89E45F
triadic
#CCE45F #5FCCE4 #E45FCC
tetradic
#CCE45F #5FE4B9 #775FE4 #E45F89
square
#CCE45F #5FE4B9 #775FE4 #E45F89
split-complementary
#CCE45F #5F89E4 #B95FE4
monochromatic
#92AC1D #BBDB2B #CCE45F #DDED93 #EDF6C8

Accessibility & contrast

On white

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

On black

14.83
#CCE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE45F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE45F#FFFFFF#000000##000000
##CCE45F1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D950
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#D7D9C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce45f;
/* rgb */ color: rgb(204, 228, 95);
/* oklch */ color: oklch(87.5% 0.160 118.4);
Tailwind
colors: {
  custom: {
    50: '#deec91',
    500: '#cce45f',
    950: '#000000',
  },
}
SCSS
$custom: #cce45f;
$custom-light: #deec91;
$custom-dark: #000000;
JSON
{
  "hex": "#cce45f",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 70.827,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87525,
    "c": 0.15973,
    "h": 118.4
  },
  "luminance": 0.6915
}

Semantic roles & 50–950 ramp

primary
#CCE45F
secondary
#4F3AAD
accent
#12D335
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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