#CFE879#CFE879

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

Color values

HEX#CFE879
RGBrgb(207, 232, 121)
HSLhsl(74, 71%, 69%)
HSVhsv(74, 48%, 91%)
CMYKcmyk(10.8%, 0%, 47.8%, 9%)
CIE-LABlab(88.14, -24.69, 50.88)
CIE-LCHlch(88.14, 56.56, 115.88°)
OKLaboklab(88.92% -0.0695 0.1214)
OKLCHoklch(88.92% 0.14 119.8)
XYZxyz(58.0403, 72.3593, 28.9946)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE879 #9279E8
analogous
#E8CA79 #CFE879 #98E879
triadic
#CFE879 #79CFE8 #E879CF
tetradic
#CFE879 #79E8CA #9279E8 #E87998
square
#CFE879 #79E8CA #9279E8 #E87998
split-complementary
#CFE879 #7998E8 #CA79E8
monochromatic
#A0C522 #BCDF45 #CFE879 #E2F1AD #F4FAE1

Accessibility & contrast

On white

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

On black

15.47
#CFE879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE879
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE879#FFFFFF#000000##000000
##CFE8791.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe879;
/* rgb */ color: rgb(207, 232, 121);
/* oklch */ color: oklch(88.9% 0.140 119.8);
Tailwind
colors: {
  custom: {
    50: '#dfefa2',
    500: '#cfe879',
    950: '#000000',
  },
}
SCSS
$custom: #cfe879;
$custom-light: #dfefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe879",
  "rgb": {
    "r": 207,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 73.514,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88918,
    "c": 0.13993,
    "h": 119.8
  },
  "luminance": 0.72359
}

Semantic roles & 50–950 ramp

primary
#CFE879
secondary
#6145C0
accent
#13D33E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE879

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

Preview Lab → · Contrast checker → · Palette generator →

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