#CFF252#CFF252

#CFF252 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.7% C 0.185 H 120.9°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CFF252
RGBrgb(207, 242, 82)
HSLhsl(73, 86%, 64%)
HSVhsv(73, 66%, 95%)
CMYKcmyk(14.5%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.50, -32.49, 70.29)
CIE-LCHlch(90.50, 77.44, 114.81°)
OKLaboklab(90.69% -0.0949 0.1588)
OKLCHoklch(90.69% 0.185 120.9)
XYZxyz(59.0081, 77.3789, 19.8080)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF252 #7552F2
analogous
#F2C552 #CFF252 #7FF252
triadic
#CFF252 #52CFF2 #F252CF
tetradic
#CFF252 #52F2C5 #7552F2 #F2527F
square
#CFF252 #52F2C5 #7552F2 #F2527F
split-complementary
#CFF252 #527FF2 #C552F2
monochromatic
#96BC0E #BFEE19 #CFF252 #DFF68B #EFFBC4

Accessibility & contrast

On white

1.27
#CFF252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#CFF252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF252
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF252#FFFFFF#000000##000000
##CFF2521.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#DAE6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cff252;
/* rgb */ color: rgb(207, 242, 82);
/* oklch */ color: oklch(90.7% 0.185 120.9);
Tailwind
colors: {
  custom: {
    50: '#e1f68b',
    500: '#cff252',
    950: '#000000',
  },
}
SCSS
$custom: #cff252;
$custom-light: #e1f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cff252",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 73.125,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90694,
    "c": 0.18502,
    "h": 120.9
  },
  "luminance": 0.77379
}

Semantic roles & 50–950 ramp

primary
#CFF252
secondary
#4D2EBA
accent
#03E334
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CFF252

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

Preview Lab → · Contrast checker → · Palette generator →

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