#CAF96F#CAF96F

#CAF96F is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.2% C 0.173 H 125.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CAF96F
RGBrgb(202, 249, 111)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 55%, 98%)
CMYKcmyk(18.9%, 0%, 55.4%, 2.4%)
CIE-LABlab(92.33, -35.43, 60.30)
CIE-LCHlch(92.33, 69.94, 120.43°)
OKLaboklab(92.17% -0.1002 0.1412)
OKLCHoklch(92.17% 0.173 125.4)
XYZxyz(61.1021, 81.4550, 27.5391)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF96F #9E6FF9
analogous
#F9E36F #CAF96F #85F96F
triadic
#CAF96F #6FCAF9 #F96FCA
tetradic
#CAF96F #6FF9E3 #9E6FF9 #F96F85
square
#CAF96F #6FF9E3 #9E6FF9 #F96F85
split-complementary
#CAF96F #6F85F9 #E36FF9
monochromatic
#9AE40A #B4F734 #CAF96F #E0FBAA #F4FEE2

Accessibility & contrast

On white

1.21
#CAF96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#CAF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF96F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF96F#FFFFFF#000000##000000
##CAF96F1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFE878
Tritanopia (blue-blind)
#D1EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf96f;
/* rgb */ color: rgb(202, 249, 111);
/* oklch */ color: oklch(92.2% 0.173 125.4);
Tailwind
colors: {
  custom: {
    50: '#ddfb9c',
    500: '#caf96f',
    950: '#000000',
  },
}
SCSS
$custom: #caf96f;
$custom-light: #ddfb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#caf96f",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 80.435,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92172,
    "c": 0.1731,
    "h": 125.4
  },
  "luminance": 0.81456
}

Semantic roles & 50–950 ramp

primary
#CAF96F
secondary
#6D38D4
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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