#CFE79A#CFE79A

#CFE79A is a very light, moderate yellow-green. Relative luminance 0.728; OKLCH L 89.2% C 0.103 H 122.6°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#CFE79A
RGBrgb(207, 231, 154)
HSLhsl(79, 62%, 75%)
HSVhsv(79, 33%, 91%)
CMYKcmyk(10.4%, 0%, 33.3%, 9.4%)
CIE-LABlab(88.33, -20.44, 34.94)
CIE-LCHlch(88.33, 40.48, 120.33°)
OKLaboklab(89.22% -0.0554 0.0868)
OKLCHoklch(89.22% 0.103 122.6)
XYZxyz(60.1404, 72.7502, 41.4395)
Luminance0.7275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE79A #B29AE7
analogous
#E7D89A #CFE79A #A8E79A
triadic
#CFE79A #9ACFE7 #E79ACF
tetradic
#CFE79A #9AE7D8 #B29AE7 #E79AA8
square
#CFE79A #9AE7D8 #B29AE7 #E79AA8
split-complementary
#CFE79A #9AA8E7 #D89AE7
monochromatic
#A0CF37 #B7DB69 #CFE79A #E7F3CB #F3F9E6

Accessibility & contrast

On white

1.35
#CFE79A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#CFE79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE79A
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE79A#FFFFFF#000000##000000
##CFE79A1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE95
Deuteranopia (green-blind)
#EDDE9E
Tritanopia (blue-blind)
#D5E0D3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe79a;
/* rgb */ color: rgb(207, 231, 154);
/* oklch */ color: oklch(89.2% 0.103 122.6);
Tailwind
colors: {
  custom: {
    50: '#deeeb8',
    500: '#cfe79a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe79a;
$custom-light: #deeeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe79a",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 154
  },
  "hsl": {
    "h": 78.701,
    "s": 61.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89217,
    "c": 0.10299,
    "h": 122.6
  },
  "luminance": 0.7275
}

Semantic roles & 50–950 ramp

primary
#CFE79A
secondary
#8164C1
accent
#1CC952
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFE79A

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

Preview Lab → · Contrast checker → · Palette generator →

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