#CFE799#CFE799

#CFE799 is a very light, moderate yellow-green. Relative luminance 0.727; OKLCH L 89.2% C 0.104 H 122.4°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#CFE799
RGBrgb(207, 231, 153)
HSLhsl(78, 62%, 75%)
HSVhsv(78, 34%, 91%)
CMYKcmyk(10.4%, 0%, 33.8%, 9.4%)
CIE-LABlab(88.31, -20.57, 35.42)
CIE-LCHlch(88.31, 40.96, 120.14°)
OKLaboklab(89.2% -0.0558 0.0879)
OKLCHoklch(89.2% 0.104 122.4)
XYZxyz(60.0574, 72.7171, 41.0027)
Luminance0.7272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE799 #B199E7
analogous
#E7D899 #CFE799 #A8E799
triadic
#CFE799 #99CFE7 #E799CF
tetradic
#CFE799 #99E7D8 #B199E7 #E799A8
square
#CFE799 #99E7D8 #B199E7 #E799A8
split-complementary
#CFE799 #99A8E7 #D899E7
monochromatic
#A0D036 #B8DB67 #CFE799 #E6F3CB #F3F9E6

Accessibility & contrast

On white

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

On black

15.54
#CFE799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE799
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE799#FFFFFF#000000##000000
##CFE7991.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe799;
/* rgb */ color: rgb(207, 231, 153);
/* oklch */ color: oklch(89.2% 0.104 122.4);
Tailwind
colors: {
  custom: {
    50: '#deeeb7',
    500: '#cfe799',
    950: '#000000',
  },
}
SCSS
$custom: #cfe799;
$custom-light: #deeeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe799",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 153
  },
  "hsl": {
    "h": 78.462,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89199,
    "c": 0.10414,
    "h": 122.4
  },
  "luminance": 0.72717
}

Semantic roles & 50–950 ramp

primary
#CFE799
secondary
#8063C1
accent
#1CCA51
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFE799

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

Preview Lab → · Contrast checker → · Palette generator →

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