#CFE87B#CFE87B

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

Color values

HEX#CFE87B
RGBrgb(207, 232, 123)
HSLhsl(74, 70%, 70%)
HSVhsv(74, 47%, 91%)
CMYKcmyk(10.8%, 0%, 47%, 9%)
CIE-LABlab(88.17, -24.49, 49.97)
CIE-LCHlch(88.17, 55.64, 116.11°)
OKLaboklab(88.95% -0.0688 0.1196)
OKLCHoklch(88.95% 0.138 119.9)
XYZxyz(58.1642, 72.4089, 29.6472)
Luminance0.7241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE87B #947BE8
analogous
#E8CA7B #CFE87B #99E87B
triadic
#CFE87B #7BCFE8 #E87BCF
tetradic
#CFE87B #7BE8CA #947BE8 #E87B99
square
#CFE87B #7BE8CA #947BE8 #E87B99
split-complementary
#CFE87B #7B99E8 #CA7BE8
monochromatic
#A1C623 #BCDF47 #CFE87B #E2F1AF #F5FAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE87B#FFFFFF#000000##000000
##CFE87B1.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)
#F4DD72
Deuteranopia (green-blind)
#F1DE81
Tritanopia (blue-blind)
#D8DECF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe87b;
/* rgb */ color: rgb(207, 232, 123);
/* oklch */ color: oklch(88.9% 0.138 119.9);
Tailwind
colors: {
  custom: {
    50: '#dfefa3',
    500: '#cfe87b',
    950: '#000000',
  },
}
SCSS
$custom: #cfe87b;
$custom-light: #dfefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe87b",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 73.761,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88945,
    "c": 0.13793,
    "h": 119.9
  },
  "luminance": 0.72409
}

Semantic roles & 50–950 ramp

primary
#CFE87B
secondary
#6347C0
accent
#13D23F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE87B

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

Preview Lab → · Contrast checker → · Palette generator →

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