#CFEF51#CFEF51

#CFEF51 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 90.0% C 0.182 H 120.1°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#CFEF51
RGBrgb(207, 239, 81)
HSLhsl(72, 83%, 63%)
HSVhsv(72, 66%, 94%)
CMYKcmyk(13.4%, 0%, 66.1%, 6.3%)
CIE-LABlab(89.67, -31.17, 69.82)
CIE-LCHlch(89.67, 76.46, 114.06°)
OKLaboklab(90.03% -0.0913 0.1577)
OKLCHoklch(90.03% 0.182 120.1)
XYZxyz(58.0848, 75.5927, 19.3139)
Luminance0.7559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF51 #7151EF
analogous
#EFC051 #CFEF51 #80EF51
triadic
#CFEF51 #51CFEF #EF51CF
tetradic
#CFEF51 #51EFC0 #7151EF #EF5180
square
#CFEF51 #51EFC0 #7151EF #EF5180
split-complementary
#CFEF51 #5180EF #C051EF
monochromatic
#94B511 #C0EA19 #CFEF51 #DEF489 #EEF9C1

Accessibility & contrast

On white

1.30
#CFEF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#CFEF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF51
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF51#FFFFFF#000000##000000
##CFEF511.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE23A
Deuteranopia (green-blind)
#FAE25D
Tritanopia (blue-blind)
#DAE3CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfef51;
/* rgb */ color: rgb(207, 239, 81);
/* oklch */ color: oklch(90.0% 0.182 120.1);
Tailwind
colors: {
  custom: {
    50: '#e1f48a',
    500: '#cfef51',
    950: '#000000',
  },
}
SCSS
$custom: #cfef51;
$custom-light: #e1f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef51",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 81
  },
  "hsl": {
    "h": 72.152,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90027,
    "c": 0.18222,
    "h": 120.1
  },
  "luminance": 0.75592
}

Semantic roles & 50–950 ramp

primary
#CFEF51
secondary
#4B30B5
accent
#06E032
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CFEF51

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

Preview Lab → · Contrast checker → · Palette generator →

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