#CFEF8A#CFEF8A

#CFEF8A is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.7% C 0.132 H 123.4°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#CFEF8A
RGBrgb(207, 239, 138)
HSLhsl(79, 76%, 74%)
HSVhsv(79, 42%, 94%)
CMYKcmyk(13.4%, 0%, 42.3%, 6.3%)
CIE-LABlab(90.24, -26.23, 45.34)
CIE-LCHlch(90.24, 52.38, 120.05°)
OKLaboklab(90.67% -0.0726 0.1101)
OKLCHoklch(90.67% 0.132 123.4)
XYZxyz(61.1859, 76.8332, 35.6467)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF8A #AA8AEF
analogous
#EFDD8A #CFEF8A #9DEF8A
triadic
#CFEF8A #8ACFEF #EF8ACF
tetradic
#CFEF8A #8AEFDD #AA8AEF #EF8A9D
square
#CFEF8A #8AEFDD #AA8AEF #EF8A9D
split-complementary
#CFEF8A #8A9DEF #DD8AEF
monochromatic
#A3E01F #B9E854 #CFEF8A #E5F6C0 #F4FBE4

Accessibility & contrast

On white

1.28
#CFEF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#CFEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEF8A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEF8A#FFFFFF#000000##000000
##CFEF8A1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#F5E38F
Tritanopia (blue-blind)
#D6E6D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cfef8a;
/* rgb */ color: rgb(207, 239, 138);
/* oklch */ color: oklch(90.7% 0.132 123.4);
Tailwind
colors: {
  custom: {
    50: '#dff4ad',
    500: '#cfef8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfef8a;
$custom-light: #dff4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef8a",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 79.01,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90674,
    "c": 0.13188,
    "h": 123.4
  },
  "luminance": 0.76833
}

Semantic roles & 50–950 ramp

primary
#CFEF8A
secondary
#7953CA
accent
#0DD84E
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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