#CCEA4F#CCEA4F

#CCEA4F is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.7% C 0.179 H 119.6°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#CCEA4F
RGBrgb(204, 234, 79)
HSLhsl(72, 79%, 61%)
HSVhsv(72, 66%, 92%)
CMYKcmyk(12.8%, 0%, 66.2%, 8.2%)
CIE-LABlab(88.09, -30.14, 68.88)
CIE-LCHlch(88.09, 75.19, 113.64°)
OKLaboklab(88.7% -0.0885 0.1555)
OKLCHoklch(88.7% 0.179 119.6)
XYZxyz(55.7369, 72.2478, 18.4046)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEA4F #6D4FEA
analogous
#EABB4F #CCEA4F #7FEA4F
triadic
#CCEA4F #4FCCEA #EA4FCC
tetradic
#CCEA4F #4FEABB #6D4FEA #EA4F7F
square
#CCEA4F #4FEABB #6D4FEA #EA4F7F
split-complementary
#CCEA4F #4F7FEA #BB4FEA
monochromatic
#8DAA14 #BBE11B #CCEA4F #DCF186 #ECF7BC

Accessibility & contrast

On white

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

On black

15.45
#CCEA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEA4F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEA4F#FFFFFF#000000##000000
##CCEA4F1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD39
Deuteranopia (green-blind)
#F5DD5B
Tritanopia (blue-blind)
#D7DECB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ccea4f;
/* rgb */ color: rgb(204, 234, 79);
/* oklch */ color: oklch(88.7% 0.179 119.6);
Tailwind
colors: {
  custom: {
    50: '#dff088',
    500: '#ccea4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccea4f;
$custom-light: #dff088;
$custom-dark: #000000;
JSON
{
  "hex": "#ccea4f",
  "rgb": {
    "r": 204,
    "g": 234,
    "b": 79
  },
  "hsl": {
    "h": 71.613,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88697,
    "c": 0.17891,
    "h": 119.6
  },
  "luminance": 0.72248
}

Semantic roles & 50–950 ramp

primary
#CCEA4F
secondary
#4932AC
accent
#0BDB33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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