#CFFF52#CFFF52

#CFFF52 is a very light, highly saturated yellow-green. Relative luminance 0.854; OKLCH L 93.6% C 0.200 H 123.7°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#CFFF52
RGBrgb(207, 255, 82)
HSLhsl(77, 100%, 66%)
HSVhsv(77, 68%, 100%)
CMYKcmyk(18.8%, 0%, 67.8%, 0%)
CIE-LABlab(94.05, -38.38, 73.93)
CIE-LCHlch(94.05, 83.30, 117.43°)
OKLaboklab(93.56% -0.1112 0.1665)
OKLCHoklch(93.56% 0.2 123.7)
XYZxyz(63.0157, 85.3942, 21.1439)
Luminance0.8539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFF52 #8252FF
analogous
#FFD852 #CFFF52 #78FF52
triadic
#CFFF52 #52CFFF #FF52CF
tetradic
#CFFF52 #52FFD8 #8252FF #FF5278
square
#CFFF52 #52FFD8 #8252FF #FF5278
split-complementary
#CFFF52 #5278FF #D852FF
monochromatic
#9BD700 #BEFF15 #CFFF52 #E0FF8F #F1FFCC

Accessibility & contrast

On white

1.16
#CFFF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#CFFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFF52
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFF52#FFFFFF#000000##000000
##CFFF521.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF37
Deuteranopia (green-blind)
#FFEE60
Tritanopia (blue-blind)
#D9F3DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cfff52;
/* rgb */ color: rgb(207, 255, 82);
/* oklch */ color: oklch(93.6% 0.200 123.7);
Tailwind
colors: {
  custom: {
    50: '#e1ff8c',
    500: '#cfff52',
    950: '#000000',
  },
}
SCSS
$custom: #cfff52;
$custom-light: #e1ff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfff52",
  "rgb": {
    "r": 207,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 76.647,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93564,
    "c": 0.20018,
    "h": 123.7
  },
  "luminance": 0.85395
}

Semantic roles & 50–950 ramp

primary
#CFFF52
secondary
#5425D0
accent
#00E640
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16180D
muted
#84867F

Preview Lab

Preview with #CFFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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