#CFEC8F#CFEC8F

#CFEC8F is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 90.1% C 0.122 H 123.0°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#CFEC8F
RGBrgb(207, 236, 143)
HSLhsl(79, 71%, 74%)
HSVhsv(79, 39%, 93%)
CMYKcmyk(12.3%, 0%, 39.4%, 7.5%)
CIE-LABlab(89.50, -24.22, 41.96)
CIE-LCHlch(89.50, 48.44, 120.00°)
OKLaboklab(90.1% -0.0666 0.1027)
OKLCHoklch(90.1% 0.122 123)
XYZxyz(60.6853, 75.2393, 37.3069)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC8F #AC8FEC
analogous
#ECDB8F #CFEC8F #A1EC8F
triadic
#CFEC8F #8FCFEC #EC8FCF
tetradic
#CFEC8F #8FECDB #AC8FEC #EC8FA1
square
#CFEC8F #8FECDB #AC8FEC #EC8FA1
split-complementary
#CFEC8F #8FA1EC #DB8FEC
monochromatic
#A2DA26 #B9E35B #CFEC8F #E5F5C3 #F4FBE5

Accessibility & contrast

On white

1.31
#CFEC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#CFEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC8F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC8F#FFFFFF#000000##000000
##CFEC8F1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E288
Deuteranopia (green-blind)
#F2E194
Tritanopia (blue-blind)
#D6E4D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec8f;
/* rgb */ color: rgb(207, 236, 143);
/* oklch */ color: oklch(90.1% 0.122 123.0);
Tailwind
colors: {
  custom: {
    50: '#dff2b1',
    500: '#cfec8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfec8f;
$custom-light: #dff2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec8f",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 78.71,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90104,
    "c": 0.12238,
    "h": 123
  },
  "luminance": 0.75239
}

Semantic roles & 50–950 ramp

primary
#CFEC8F
secondary
#7B58C7
accent
#12D34F
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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