#CAF870#CAF870

#CAF870 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.0% C 0.171 H 125.2°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#CAF870
RGBrgb(202, 248, 112)
HSLhsl(80, 91%, 71%)
HSVhsv(80, 55%, 97%)
CMYKcmyk(18.5%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.07, -34.89, 59.56)
CIE-LCHlch(92.07, 69.02, 120.36°)
OKLaboklab(91.96% -0.0986 0.1396)
OKLCHoklch(91.96% 0.171 125.2)
XYZxyz(60.8492, 80.8606, 27.7280)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF870 #9E70F8
analogous
#F8E270 #CAF870 #86F870
triadic
#CAF870 #70CAF8 #F870CA
tetradic
#CAF870 #70F8E2 #9E70F8 #F87086
square
#CAF870 #70F8E2 #9E70F8 #F87086
split-complementary
#CAF870 #7086F8 #E270F8
monochromatic
#9AE30B #B4F536 #CAF870 #E0FBAA #F4FEE2

Accessibility & contrast

On white

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

On black

17.17
#CAF870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF870
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF870#FFFFFF#000000##000000
##CAF8701.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#D1EEDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf870;
/* rgb */ color: rgb(202, 248, 112);
/* oklch */ color: oklch(92.0% 0.171 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfa9d',
    500: '#caf870',
    950: '#000000',
  },
}
SCSS
$custom: #caf870;
$custom-light: #ddfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf870",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 80.294,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91962,
    "c": 0.17095,
    "h": 125.2
  },
  "luminance": 0.80861
}

Semantic roles & 50–950 ramp

primary
#CAF870
secondary
#6D39D3
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF870

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

Preview Lab → · Contrast checker → · Palette generator →

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