#CFEF8B#CFEF8B

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

Color values

HEX#CFEF8B
RGBrgb(207, 239, 139)
HSLhsl(79, 76%, 74%)
HSVhsv(79, 42%, 94%)
CMYKcmyk(13.4%, 0%, 41.8%, 6.3%)
CIE-LABlab(90.26, -26.11, 44.87)
CIE-LCHlch(90.26, 51.91, 120.20°)
OKLaboklab(90.69% -0.0722 0.1091)
OKLCHoklch(90.69% 0.131 123.5)
XYZxyz(61.2587, 76.8623, 36.0297)
Luminance0.7686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEF8B #AB8BEF
analogous
#EFDD8B #CFEF8B #9DEF8B
triadic
#CFEF8B #8BCFEF #EF8BCF
tetradic
#CFEF8B #8BEFDD #AB8BEF #EF8B9D
square
#CFEF8B #8BEFDD #AB8BEF #EF8B9D
split-complementary
#CFEF8B #8B9DEF #DD8BEF
monochromatic
#A2E01F #B9E855 #CFEF8B #E5F6C1 #F4FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFEF8B#FFFFFF#000000##000000
##CFEF8B1.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)
#F9E483
Deuteranopia (green-blind)
#F5E390
Tritanopia (blue-blind)
#D6E6D7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cfef8b;
/* rgb */ color: rgb(207, 239, 139);
/* oklch */ color: oklch(90.7% 0.131 123.5);
Tailwind
colors: {
  custom: {
    50: '#dff4ae',
    500: '#cfef8b',
    950: '#000000',
  },
}
SCSS
$custom: #cfef8b;
$custom-light: #dff4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cfef8b",
  "rgb": {
    "r": 207,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 79.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90689,
    "c": 0.13083,
    "h": 123.5
  },
  "luminance": 0.76862
}

Semantic roles & 50–950 ramp

primary
#CFEF8B
secondary
#7A54CA
accent
#0ED84E
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFEF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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