#CFE87A#CFE87A

#CFE87A is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.9% C 0.139 H 119.9°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#CFE87A
RGBrgb(207, 232, 122)
HSLhsl(74, 71%, 69%)
HSVhsv(74, 47%, 91%)
CMYKcmyk(10.8%, 0%, 47.4%, 9%)
CIE-LABlab(88.15, -24.59, 50.42)
CIE-LCHlch(88.15, 56.10, 116.00°)
OKLaboklab(88.93% -0.0692 0.1205)
OKLCHoklch(88.93% 0.139 119.9)
XYZxyz(58.1020, 72.3840, 29.3192)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE87A #937AE8
analogous
#E8CA7A #CFE87A #98E87A
triadic
#CFE87A #7ACFE8 #E87ACF
tetradic
#CFE87A #7AE8CA #937AE8 #E87A98
square
#CFE87A #7AE8CA #937AE8 #E87A98
split-complementary
#CFE87A #7A98E8 #CA7AE8
monochromatic
#A0C522 #BCDF46 #CFE87A #E2F1AE #F5FAE2

Accessibility & contrast

On white

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

On black

15.48
#CFE87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE87A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE87A#FFFFFF#000000##000000
##CFE87A1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#F1DD80
Tritanopia (blue-blind)
#D8DECE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe87a;
/* rgb */ color: rgb(207, 232, 122);
/* oklch */ color: oklch(88.9% 0.139 119.9);
Tailwind
colors: {
  custom: {
    50: '#dfefa3',
    500: '#cfe87a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe87a;
$custom-light: #dfefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe87a",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 73.636,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88932,
    "c": 0.13894,
    "h": 119.9
  },
  "luminance": 0.72384
}

Semantic roles & 50–950 ramp

primary
#CFE87A
secondary
#6246C0
accent
#13D33F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE87A

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

Preview Lab → · Contrast checker → · Palette generator →

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