#CFEC7E#CFEC7E

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

Color values

HEX#CFEC7E
RGBrgb(207, 236, 126)
HSLhsl(76, 74%, 71%)
HSVhsv(76, 47%, 93%)
CMYKcmyk(12.3%, 0%, 46.6%, 7.5%)
CIE-LABlab(89.28, -26.09, 49.90)
CIE-LCHlch(89.28, 56.31, 117.60°)
OKLaboklab(89.85% -0.0731 0.1196)
OKLCHoklch(89.85% 0.14 121.4)
XYZxyz(59.4937, 74.7627, 31.0310)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC7E #9B7EEC
analogous
#ECD27E #CFEC7E #98EC7E
triadic
#CFEC7E #7ECFEC #EC7ECF
tetradic
#CFEC7E #7EECD2 #9B7EEC #EC7E98
square
#CFEC7E #7EECD2 #9B7EEC #EC7E98
split-complementary
#CFEC7E #7E98EC #D27EEC
monochromatic
#A2D11F #BBE449 #CFEC7E #E3F4B3 #F5FBE4

Accessibility & contrast

On white

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

On black

15.95
#CFEC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC7E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC7E#FFFFFF#000000##000000
##CFEC7E1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfec7e;
/* rgb */ color: rgb(207, 236, 126);
/* oklch */ color: oklch(89.9% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#dff2a5',
    500: '#cfec7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfec7e;
$custom-light: #dff2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec7e",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 126
  },
  "hsl": {
    "h": 75.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89852,
    "c": 0.14017,
    "h": 121.4
  },
  "luminance": 0.74763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFEC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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