#CAF96C#CAF96C

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

Color values

HEX#CAF96C
RGBrgb(202, 249, 108)
HSLhsl(80, 92%, 70%)
HSVhsv(80, 57%, 98%)
CMYKcmyk(18.9%, 0%, 56.6%, 2.4%)
CIE-LABlab(92.31, -35.69, 61.57)
CIE-LCHlch(92.31, 71.17, 120.09°)
OKLaboklab(92.14% -0.1012 0.1436)
OKLCHoklch(92.14% 0.176 125.2)
XYZxyz(60.9397, 81.3900, 26.6838)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF96C #9B6CF9
analogous
#F9E26C #CAF96C #83F96C
triadic
#CAF96C #6CCAF9 #F96CCA
tetradic
#CAF96C #6CF9E2 #9B6CF9 #F96C83
square
#CAF96C #6CF9E2 #9B6CF9 #F96C83
split-complementary
#CAF96C #6C83F9 #E26CF9
monochromatic
#99E109 #B5F731 #CAF96C #DFFBA7 #F4FEE2

Accessibility & contrast

On white

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

On black

17.28
#CAF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF96C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF96C#FFFFFF#000000##000000
##CAF96C1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf96c;
/* rgb */ color: rgb(202, 249, 108);
/* oklch */ color: oklch(92.1% 0.176 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfb9a',
    500: '#caf96c',
    950: '#000000',
  },
}
SCSS
$custom: #caf96c;
$custom-light: #ddfb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#caf96c",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 80,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.92139,
    "c": 0.17566,
    "h": 125.2
  },
  "luminance": 0.81391
}

Semantic roles & 50–950 ramp

primary
#CAF96C
secondary
#6A36D4
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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