#CCE55F#CCE55F

#CCE55F is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.7% C 0.161 H 118.7°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#CCE55F
RGBrgb(204, 229, 95)
HSLhsl(71, 72%, 64%)
HSVhsv(71, 59%, 90%)
CMYKcmyk(10.9%, 0%, 58.5%, 10.2%)
CIE-LABlab(86.85, -26.70, 61.08)
CIE-LCHlch(86.85, 66.66, 113.61°)
OKLaboklab(87.74% -0.0774 0.1411)
OKLCHoklch(87.74% 0.161 118.7)
XYZxyz(54.9875, 69.7026, 21.3814)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE55F #785FE5
analogous
#E5BB5F #CCE55F #89E55F
triadic
#CCE55F #5FCCE5 #E55FCC
tetradic
#CCE55F #5FE5BB #785FE5 #E55F89
square
#CCE55F #5FE5BB #785FE5 #E55F89
split-complementary
#CCE55F #5F89E5 #BB5FE5
monochromatic
#92AD1C #BBDC2A #CCE55F #DDEE94 #EEF6C8

Accessibility & contrast

On white

1.41
#CCE55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#CCE55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE55F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE55F#FFFFFF#000000##000000
##CCE55F1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D950
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#D7DAC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce55f;
/* rgb */ color: rgb(204, 229, 95);
/* oklch */ color: oklch(87.7% 0.161 118.7);
Tailwind
colors: {
  custom: {
    50: '#deed91',
    500: '#cce55f',
    950: '#000000',
  },
}
SCSS
$custom: #cce55f;
$custom-light: #deed91;
$custom-dark: #000000;
JSON
{
  "hex": "#cce55f",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 95
  },
  "hsl": {
    "h": 71.194,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87744,
    "c": 0.16093,
    "h": 118.7
  },
  "luminance": 0.69702
}

Semantic roles & 50–950 ramp

primary
#CCE55F
secondary
#4F3AAF
accent
#11D436
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE55F

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

Preview Lab → · Contrast checker → · Palette generator →

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