#CFEC7F#CFEC7F

#CFEC7F is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.9% C 0.139 H 121.5°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#CFEC7F
RGBrgb(207, 236, 127)
HSLhsl(76, 74%, 71%)
HSVhsv(76, 46%, 93%)
CMYKcmyk(12.3%, 0%, 46.2%, 7.5%)
CIE-LABlab(89.29, -25.99, 49.44)
CIE-LCHlch(89.29, 55.86, 117.73°)
OKLaboklab(89.87% -0.0727 0.1187)
OKLCHoklch(89.87% 0.139 121.5)
XYZxyz(59.5585, 74.7886, 31.3725)
Luminance0.7479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC7F #9C7FEC
analogous
#ECD27F #CFEC7F #98EC7F
triadic
#CFEC7F #7FCFEC #EC7FCF
tetradic
#CFEC7F #7FECD2 #9C7FEC #EC7F98
square
#CFEC7F #7FECD2 #9C7FEC #EC7F98
split-complementary
#CFEC7F #7F98EC #D27FEC
monochromatic
#A2D21F #BBE44A #CFEC7F #E3F4B4 #F5FBE4

Accessibility & contrast

On white

1.32
#CFEC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#CFEC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC7F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC7F#FFFFFF#000000##000000
##CFEC7F1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E176
Deuteranopia (green-blind)
#F4E085
Tritanopia (blue-blind)
#D7E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec7f;
/* rgb */ color: rgb(207, 236, 127);
/* oklch */ color: oklch(89.9% 0.139 121.5);
Tailwind
colors: {
  custom: {
    50: '#dff2a6',
    500: '#cfec7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfec7f;
$custom-light: #dff2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec7f",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 127
  },
  "hsl": {
    "h": 75.963,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89866,
    "c": 0.13917,
    "h": 121.5
  },
  "luminance": 0.74789
}

Semantic roles & 50–950 ramp

primary
#CFEC7F
secondary
#6B4AC6
accent
#0FD644
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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