#CCEF40#CCEF40

#CCEF40 is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.7% C 0.194 H 120.5°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#CCEF40
RGBrgb(204, 239, 64)
HSLhsl(72, 85%, 59%)
HSVhsv(72, 73%, 94%)
CMYKcmyk(14.6%, 0%, 73.2%, 6.3%)
CIE-LABlab(89.37, -33.27, 75.41)
CIE-LCHlch(89.37, 82.42, 113.81°)
OKLaboklab(89.7% -0.0984 0.1669)
OKLCHoklch(89.7% 0.194 120.5)
XYZxyz(56.6948, 74.9407, 16.3277)
Luminance0.7494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEF40 #6340EF
analogous
#EFBB40 #CCEF40 #75EF40
triadic
#CCEF40 #40CCEF #EF40CC
tetradic
#CCEF40 #40EFBB #6340EF #EF4075
square
#CCEF40 #40EFBB #6340EF #EF4075
split-complementary
#CCEF40 #4075EF #BB40EF
monochromatic
#88A70E #B6DF13 #CCEF40 #DBF478 #EAF8B1

Accessibility & contrast

On white

1.31
#CCEF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#CCEF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEF40
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEF40#FFFFFF#000000##000000
##CCEF401.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE11A
Deuteranopia (green-blind)
#FAE150
Tritanopia (blue-blind)
#D7E2CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ccef40;
/* rgb */ color: rgb(204, 239, 64);
/* oklch */ color: oklch(89.7% 0.194 120.5);
Tailwind
colors: {
  custom: {
    50: '#dff481',
    500: '#ccef40',
    950: '#000000',
  },
}
SCSS
$custom: #ccef40;
$custom-light: #dff481;
$custom-dark: #000000;
JSON
{
  "hex": "#ccef40",
  "rgb": {
    "r": 204,
    "g": 239,
    "b": 64
  },
  "hsl": {
    "h": 72,
    "s": 84.541,
    "l": 59.412
  },
  "oklch": {
    "l": 0.89697,
    "c": 0.19378,
    "h": 120.5
  },
  "luminance": 0.74941
}

Semantic roles & 50–950 ramp

primary
#CCEF40
secondary
#442BA8
accent
#2DFB56
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #CCEF40

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

Preview Lab → · Contrast checker → · Palette generator →

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