#CCEB4F#CCEB4F

#CCEB4F is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.9% C 0.180 H 119.9°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#CCEB4F
RGBrgb(204, 235, 79)
HSLhsl(72, 80%, 62%)
HSVhsv(72, 66%, 92%)
CMYKcmyk(13.2%, 0%, 66.4%, 7.8%)
CIE-LABlab(88.36, -30.61, 69.16)
CIE-LCHlch(88.36, 75.63, 113.87°)
OKLaboklab(88.92% -0.0898 0.1561)
OKLCHoklch(88.92% 0.18 119.9)
XYZxyz(56.0224, 72.8188, 18.4997)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB4F #6E4FEB
analogous
#EBBC4F #CCEB4F #7EEB4F
triadic
#CCEB4F #4FCCEB #EB4FCC
tetradic
#CCEB4F #4FEBBC #6E4FEB #EB4F7E
square
#CCEB4F #4FEBBC #6E4FEB #EB4F7E
split-complementary
#CCEB4F #4F7EEB #BC4FEB
monochromatic
#8EAC14 #BBE31A #CCEB4F #DCF186 #ECF7BD

Accessibility & contrast

On white

1.35
#CCEB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#CCEB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB4F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB4F#FFFFFF#000000##000000
##CCEB4F1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE38
Deuteranopia (green-blind)
#F6DE5B
Tritanopia (blue-blind)
#D7DFCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb4f;
/* rgb */ color: rgb(204, 235, 79);
/* oklch */ color: oklch(88.9% 0.180 119.9);
Tailwind
colors: {
  custom: {
    50: '#dff188',
    500: '#cceb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cceb4f;
$custom-light: #dff188;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb4f",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 79
  },
  "hsl": {
    "h": 71.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88918,
    "c": 0.18006,
    "h": 119.9
  },
  "luminance": 0.72819
}

Semantic roles & 50–950 ramp

primary
#CCEB4F
secondary
#4A31AD
accent
#0ADC33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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