#CFE97F#CFE97F

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

Color values

HEX#CFE97F
RGBrgb(207, 233, 127)
HSLhsl(75, 71%, 71%)
HSVhsv(75, 45%, 91%)
CMYKcmyk(11.2%, 0%, 45.5%, 8.6%)
CIE-LABlab(88.48, -24.56, 48.45)
CIE-LCHlch(88.48, 54.32, 116.88°)
OKLaboklab(89.22% -0.0687 0.1165)
OKLCHoklch(89.22% 0.135 120.5)
XYZxyz(58.7021, 73.0757, 31.0871)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97F #997FE9
analogous
#E9CE7F #CFE97F #9AE97F
triadic
#CFE97F #7FCFE9 #E97FCF
tetradic
#CFE97F #7FE9CE #997FE9 #E97F9A
square
#CFE97F #7FE9CE #997FE9 #E97F9A
split-complementary
#CFE97F #7F9AE9 #CE7FE9
monochromatic
#A2CB23 #BBE04B #CFE97F #E3F2B3 #F5FBE5

Accessibility & contrast

On white

1.34
#CFE97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#CFE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE97F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE97F#FFFFFF#000000##000000
##CFE97F1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE76
Deuteranopia (green-blind)
#F1DE85
Tritanopia (blue-blind)
#D7DFD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe97f;
/* rgb */ color: rgb(207, 233, 127);
/* oklch */ color: oklch(89.2% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#dff0a6',
    500: '#cfe97f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97f;
$custom-light: #dff0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97f",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 74.717,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89216,
    "c": 0.1352,
    "h": 120.5
  },
  "luminance": 0.73076
}

Semantic roles & 50–950 ramp

primary
#CFE97F
secondary
#684AC2
accent
#13D342
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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