#CAF96B#CAF96B

#CAF96B is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.1% C 0.176 H 125.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CAF96B
RGBrgb(202, 249, 107)
HSLhsl(80, 92%, 70%)
HSVhsv(80, 57%, 98%)
CMYKcmyk(18.9%, 0%, 57%, 2.4%)
CIE-LABlab(92.30, -35.77, 62.00)
CIE-LCHlch(92.30, 71.58, 119.98°)
OKLaboklab(92.13% -0.1015 0.1444)
OKLCHoklch(92.13% 0.177 125.1)
XYZxyz(60.8868, 81.3689, 26.4051)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF96B #9A6BF9
analogous
#F9E16B #CAF96B #83F96B
triadic
#CAF96B #6BCAF9 #F96BCA
tetradic
#CAF96B #6BF9E1 #9A6BF9 #F96B83
square
#CAF96B #6BF9E1 #9A6BF9 #F96B83
split-complementary
#CAF96B #6B83F9 #E16BF9
monochromatic
#99E009 #B5F730 #CAF96B #DFFBA6 #F4FEE1

Accessibility & contrast

On white

1.22
#CAF96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#CAF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF96B
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF96B#FFFFFF#000000##000000
##CAF96B1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5C
Deuteranopia (green-blind)
#FFE874
Tritanopia (blue-blind)
#D2EEDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf96b;
/* rgb */ color: rgb(202, 249, 107);
/* oklch */ color: oklch(92.1% 0.176 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddfb9a',
    500: '#caf96b',
    950: '#000000',
  },
}
SCSS
$custom: #caf96b;
$custom-light: #ddfb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#caf96b",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 79.859,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92129,
    "c": 0.1765,
    "h": 125.1
  },
  "luminance": 0.81369
}

Semantic roles & 50–950 ramp

primary
#CAF96B
secondary
#6935D3
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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