#CFEC7D#CFEC7D

#CFEC7D is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.8% C 0.141 H 121.3°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#CFEC7D
RGBrgb(207, 236, 125)
HSLhsl(76, 74%, 71%)
HSVhsv(76, 47%, 93%)
CMYKcmyk(12.3%, 0%, 47%, 7.5%)
CIE-LABlab(89.27, -26.19, 50.36)
CIE-LCHlch(89.27, 56.77, 117.48°)
OKLaboklab(89.84% -0.0734 0.1206)
OKLCHoklch(89.84% 0.141 121.3)
XYZxyz(59.4295, 74.7370, 30.6929)
Luminance0.7474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC7D #9A7DEC
analogous
#ECD27D #CFEC7D #97EC7D
triadic
#CFEC7D #7DCFEC #EC7DCF
tetradic
#CFEC7D #7DECD2 #9A7DEC #EC7D97
square
#CFEC7D #7DECD2 #9A7DEC #EC7D97
split-complementary
#CFEC7D #7D97EC #D27DEC
monochromatic
#A2D01E #BBE448 #CFEC7D #E3F4B2 #F5FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFEC7D#FFFFFF#000000##000000
##CFEC7D1.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)
#F8E173
Deuteranopia (green-blind)
#F4E083
Tritanopia (blue-blind)
#D7E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec7d;
/* rgb */ color: rgb(207, 236, 125);
/* oklch */ color: oklch(89.8% 0.141 121.3);
Tailwind
colors: {
  custom: {
    50: '#dff2a5',
    500: '#cfec7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfec7d;
$custom-light: #dff2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec7d",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 125
  },
  "hsl": {
    "h": 75.676,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89839,
    "c": 0.14118,
    "h": 121.3
  },
  "luminance": 0.74737
}

Semantic roles & 50–950 ramp

primary
#CFEC7D
secondary
#6948C5
accent
#0FD743
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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