#CFE97E#CFE97E

#CFE97E is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.2% C 0.136 H 120.5°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#CFE97E
RGBrgb(207, 233, 126)
HSLhsl(75, 71%, 70%)
HSVhsv(75, 46%, 91%)
CMYKcmyk(11.2%, 0%, 45.9%, 8.6%)
CIE-LABlab(88.47, -24.66, 48.91)
CIE-LCHlch(88.47, 54.78, 116.76°)
OKLaboklab(89.2% -0.069 0.1174)
OKLCHoklch(89.2% 0.136 120.5)
XYZxyz(58.6372, 73.0497, 30.7455)
Luminance0.7305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97E #987EE9
analogous
#E9CD7E #CFE97E #9AE97E
triadic
#CFE97E #7ECFE9 #E97ECF
tetradic
#CFE97E #7EE9CD #987EE9 #E97E9A
square
#CFE97E #7EE9CD #987EE9 #E97E9A
split-complementary
#CFE97E #7E9AE9 #CD7EE9
monochromatic
#A1CA22 #BCE04A #CFE97E #E2F2B2 #F5FBE5

Accessibility & contrast

On white

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

On black

15.61
#CFE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE97E
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE97E#FFFFFF#000000##000000
##CFE97E1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE75
Deuteranopia (green-blind)
#F1DE84
Tritanopia (blue-blind)
#D8DFD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe97e;
/* rgb */ color: rgb(207, 233, 126);
/* oklch */ color: oklch(89.2% 0.136 120.5);
Tailwind
colors: {
  custom: {
    50: '#dff0a5',
    500: '#cfe97e',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97e;
$custom-light: #dff0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97e",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 74.579,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89203,
    "c": 0.13621,
    "h": 120.5
  },
  "luminance": 0.7305
}

Semantic roles & 50–950 ramp

primary
#CFE97E
secondary
#6749C2
accent
#13D341
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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