#CAF970#CAF970

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

Color values

HEX#CAF970
RGBrgb(202, 249, 112)
HSLhsl(81, 92%, 71%)
HSVhsv(81, 55%, 98%)
CMYKcmyk(18.9%, 0%, 55%, 2.4%)
CIE-LABlab(92.34, -35.34, 59.87)
CIE-LCHlch(92.34, 69.52, 120.55°)
OKLaboklab(92.18% -0.0999 0.1403)
OKLCHoklch(92.18% 0.172 125.4)
XYZxyz(61.1575, 81.4771, 27.8308)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF970 #9F70F9
analogous
#F9E370 #CAF970 #85F970
triadic
#CAF970 #70CAF9 #F970CA
tetradic
#CAF970 #70F9E3 #9F70F9 #F97085
square
#CAF970 #70F9E3 #9F70F9 #F97085
split-complementary
#CAF970 #7085F9 #E370F9
monochromatic
#9AE50A #B4F735 #CAF970 #E0FBAB #F4FEE2

Accessibility & contrast

On white

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

On black

17.30
#CAF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF970
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF970#FFFFFF#000000##000000
##CAF9701.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#D1EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf970;
/* rgb */ color: rgb(202, 249, 112);
/* oklch */ color: oklch(92.2% 0.172 125.4);
Tailwind
colors: {
  custom: {
    50: '#ddfb9d',
    500: '#caf970',
    950: '#000000',
  },
}
SCSS
$custom: #caf970;
$custom-light: #ddfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf970",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 80.584,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92183,
    "c": 0.17223,
    "h": 125.4
  },
  "luminance": 0.81478
}

Semantic roles & 50–950 ramp

primary
#CAF970
secondary
#6E39D4
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF970

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

Preview Lab → · Contrast checker → · Palette generator →

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