#CDFF51#CDFF51

#CDFF51 is a very light, highly saturated yellow-green. Relative luminance 0.851; OKLCH L 93.4% C 0.202 H 124.2°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#CDFF51
RGBrgb(205, 255, 81)
HSLhsl(77, 100%, 66%)
HSVhsv(77, 68%, 100%)
CMYKcmyk(19.6%, 0%, 68.2%, 0%)
CIE-LABlab(93.92, -39.19, 74.12)
CIE-LCHlch(93.92, 83.84, 117.87°)
OKLaboklab(93.43% -0.1134 0.1668)
OKLCHoklch(93.43% 0.202 124.2)
XYZxyz(62.4226, 85.0927, 20.9189)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFF51 #8351FF
analogous
#FFDA51 #CDFF51 #76FF51
triadic
#CDFF51 #51CDFF #FF51CD
tetradic
#CDFF51 #51FFDA #8351FF #FF5176
square
#CDFF51 #51FFDA #8351FF #FF5176
split-complementary
#CDFF51 #5176FF #DA51FF
monochromatic
#98D600 #BBFF14 #CDFF51 #DFFF8E #F0FFCB

Accessibility & contrast

On white

1.17
#CDFF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#CDFF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFF51
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFF51#FFFFFF#000000##000000
##CDFF511.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF35
Deuteranopia (green-blind)
#FFED5F
Tritanopia (blue-blind)
#D6F3DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cdff51;
/* rgb */ color: rgb(205, 255, 81);
/* oklch */ color: oklch(93.4% 0.202 124.2);
Tailwind
colors: {
  custom: {
    50: '#e0ff8b',
    500: '#cdff51',
    950: '#000000',
  },
}
SCSS
$custom: #cdff51;
$custom-light: #e0ff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdff51",
  "rgb": {
    "r": 205,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 77.241,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93425,
    "c": 0.20166,
    "h": 124.2
  },
  "luminance": 0.85093
}

Semantic roles & 50–950 ramp

primary
#CDFF51
secondary
#5625D0
accent
#00E642
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16180D
muted
#84867F

Preview Lab

Preview with #CDFF51

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

Preview Lab → · Contrast checker → · Palette generator →

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