#CFE97D#CFE97D

#CFE97D is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.2% C 0.137 H 120.4°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#CFE97D
RGBrgb(207, 233, 125)
HSLhsl(74, 71%, 70%)
HSVhsv(74, 46%, 91%)
CMYKcmyk(11.2%, 0%, 46.4%, 8.6%)
CIE-LABlab(88.46, -24.76, 49.37)
CIE-LCHlch(88.46, 55.24, 116.64°)
OKLaboklab(89.19% -0.0694 0.1184)
OKLCHoklch(89.19% 0.137 120.4)
XYZxyz(58.5730, 73.0240, 30.4074)
Luminance0.7302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97D #977DE9
analogous
#E9CD7D #CFE97D #99E97D
triadic
#CFE97D #7DCFE9 #E97DCF
tetradic
#CFE97D #7DE9CD #977DE9 #E97D99
square
#CFE97D #7DE9CD #977DE9 #E97D99
split-complementary
#CFE97D #7D99E9 #CD7DE9
monochromatic
#A1CA22 #BCE049 #CFE97D #E2F2B1 #F5FBE5

Accessibility & contrast

On white

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

On black

15.60
#CFE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE97D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE97D#FFFFFF#000000##000000
##CFE97D1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfe97d;
/* rgb */ color: rgb(207, 233, 125);
/* oklch */ color: oklch(89.2% 0.137 120.4);
Tailwind
colors: {
  custom: {
    50: '#dff0a5',
    500: '#cfe97d',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97d;
$custom-light: #dff0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97d",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 74.444,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89189,
    "c": 0.13723,
    "h": 120.4
  },
  "luminance": 0.73024
}

Semantic roles & 50–950 ramp

primary
#CFE97D
secondary
#6648C2
accent
#12D341
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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