#CFEF81#CFEF81

#CFEF81 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.5% C 0.141 H 122.6°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#CFEF81
RGBrgb(207, 239, 129)
HSLhsl(77, 77%, 72%)
HSVhsv(77, 46%, 94%)
CMYKcmyk(13.4%, 0%, 46%, 6.3%)
CIE-LABlab(90.13, -27.20, 49.52)
CIE-LCHlch(90.13, 56.50, 118.78°)
OKLaboklab(90.54% -0.076 0.119)
OKLCHoklch(90.54% 0.141 122.6)
XYZxyz(60.5612, 76.5833, 32.3562)
Luminance0.7658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF81 #A181EF
analogous
#EFD881 #CFEF81 #98EF81
triadic
#CFEF81 #81CFEF #EF81CF
tetradic
#CFEF81 #81EFD8 #A181EF #EF8198
square
#CFEF81 #81EFD8 #A181EF #EF8198
split-complementary
#CFEF81 #8198EF #D881EF
monochromatic
#A3DA1C #BAE84B #CFEF81 #E4F6B7 #F5FCE4

Accessibility & contrast

On white

1.29
#CFEF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#CFEF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF81
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF81#FFFFFF#000000##000000
##CFEF811.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE378
Deuteranopia (green-blind)
#F6E387
Tritanopia (blue-blind)
#D7E5D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cfef81;
/* rgb */ color: rgb(207, 239, 129);
/* oklch */ color: oklch(90.5% 0.141 122.6);
Tailwind
colors: {
  custom: {
    50: '#dff4a7',
    500: '#cfef81',
    950: '#000000',
  },
}
SCSS
$custom: #cfef81;
$custom-light: #dff4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef81",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 129
  },
  "hsl": {
    "h": 77.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90544,
    "c": 0.14115,
    "h": 122.6
  },
  "luminance": 0.76583
}

Semantic roles & 50–950 ramp

primary
#CFEF81
secondary
#704BC9
accent
#0CDA48
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CFEF81

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

Preview Lab → · Contrast checker → · Palette generator →

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