#CFF251#CFF251

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

Color values

HEX#CFF251
RGBrgb(207, 242, 81)
HSLhsl(73, 86%, 63%)
HSVhsv(73, 67%, 95%)
CMYKcmyk(14.5%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.49, -32.55, 70.66)
CIE-LCHlch(90.49, 77.80, 114.74°)
OKLaboklab(90.69% -0.0952 0.1595)
OKLCHoklch(90.69% 0.186 120.8)
XYZxyz(58.9703, 77.3638, 19.6091)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF251 #7451F2
analogous
#F2C451 #CFF251 #7FF251
triadic
#CFF251 #51CFF2 #F251CF
tetradic
#CFF251 #51F2C4 #7451F2 #F2517F
square
#CFF251 #51F2C4 #7451F2 #F2517F
split-complementary
#CFF251 #517FF2 #C451F2
monochromatic
#95BB0E #BFEE18 #CFF251 #DFF68A #EEFBC3

Accessibility & contrast

On white

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

On black

16.47
#CFF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF251
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF251#FFFFFF#000000##000000
##CFF2511.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cff251;
/* rgb */ color: rgb(207, 242, 81);
/* oklch */ color: oklch(90.7% 0.186 120.8);
Tailwind
colors: {
  custom: {
    50: '#e1f68a',
    500: '#cff251',
    950: '#000000',
  },
}
SCSS
$custom: #cff251;
$custom-light: #e1f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cff251",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 73.043,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90686,
    "c": 0.18569,
    "h": 120.8
  },
  "luminance": 0.77364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFF251

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

Preview Lab → · Contrast checker → · Palette generator →

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