#CFE97C#CFE97C

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

Color values

HEX#CFE97C
RGBrgb(207, 233, 124)
HSLhsl(74, 71%, 70%)
HSVhsv(74, 47%, 91%)
CMYKcmyk(11.2%, 0%, 46.8%, 8.6%)
CIE-LABlab(88.45, -24.87, 49.83)
CIE-LCHlch(88.45, 55.69, 116.52°)
OKLaboklab(89.18% -0.0698 0.1193)
OKLCHoklch(89.18% 0.138 120.3)
XYZxyz(58.5094, 72.9986, 30.0727)
Luminance0.7300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE97C #967CE9
analogous
#E9CD7C #CFE97C #98E97C
triadic
#CFE97C #7CCFE9 #E97CCF
tetradic
#CFE97C #7CE9CD #967CE9 #E97C98
square
#CFE97C #7CE9CD #967CE9 #E97C98
split-complementary
#CFE97C #7C98E9 #CD7CE9
monochromatic
#A1C922 #BCE048 #CFE97C #E2F2B0 #F5FBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFE97C#FFFFFF#000000##000000
##CFE97C1.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)
#F5DE73
Deuteranopia (green-blind)
#F2DE82
Tritanopia (blue-blind)
#D8DFD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe97c;
/* rgb */ color: rgb(207, 233, 124);
/* oklch */ color: oklch(89.2% 0.138 120.3);
Tailwind
colors: {
  custom: {
    50: '#dff0a4',
    500: '#cfe97c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe97c;
$custom-light: #dff0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe97c",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 74.312,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.89175,
    "c": 0.13823,
    "h": 120.3
  },
  "luminance": 0.72998
}

Semantic roles & 50–950 ramp

primary
#CFE97C
secondary
#6548C2
accent
#12D340
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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