#CFE87E#CFE87E

#CFE87E is a very light, vivid yellow-green. Relative luminance 0.725; OKLCH L 89.0% C 0.135 H 120.1°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#CFE87E
RGBrgb(207, 232, 126)
HSLhsl(74, 70%, 70%)
HSVhsv(74, 46%, 91%)
CMYKcmyk(10.8%, 0%, 45.7%, 9%)
CIE-LABlab(88.20, -24.18, 48.58)
CIE-LCHlch(88.20, 54.27, 116.46°)
OKLaboklab(88.99% -0.0677 0.1167)
OKLCHoklch(88.99% 0.135 120.1)
XYZxyz(58.3549, 72.4852, 30.6514)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE87E #977EE8
analogous
#E8CC7E #CFE87E #9AE87E
triadic
#CFE87E #7ECFE8 #E87ECF
tetradic
#CFE87E #7EE8CC #977EE8 #E87E9A
square
#CFE87E #7EE8CC #977EE8 #E87E9A
split-complementary
#CFE87E #7E9AE8 #CC7EE8
monochromatic
#A1C824 #BCDF4A #CFE87E #E2F1B2 #F5FAE5

Accessibility & contrast

On white

1.36
#CFE87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#CFE87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE87E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE87E#FFFFFF#000000##000000
##CFE87E1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD75
Deuteranopia (green-blind)
#F1DE84
Tritanopia (blue-blind)
#D8DECF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe87e;
/* rgb */ color: rgb(207, 232, 126);
/* oklch */ color: oklch(89.0% 0.135 120.1);
Tailwind
colors: {
  custom: {
    50: '#dfefa5',
    500: '#cfe87e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe87e;
$custom-light: #dfefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe87e",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 126
  },
  "hsl": {
    "h": 74.151,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88986,
    "c": 0.13489,
    "h": 120.1
  },
  "luminance": 0.72485
}

Semantic roles & 50–950 ramp

primary
#CFE87E
secondary
#664AC1
accent
#14D241
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE87E

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

Preview Lab → · Contrast checker → · Palette generator →

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