#CAF88F#CAF88F

#CAF88F is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.4% C 0.141 H 128.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CAF88F
RGBrgb(202, 248, 143)
HSLhsl(86, 88%, 77%)
HSVhsv(86, 42%, 97%)
CMYKcmyk(18.5%, 0%, 42.3%, 2.7%)
CIE-LABlab(92.43, -31.70, 45.61)
CIE-LCHlch(92.43, 55.54, 124.80°)
OKLaboklab(92.37% -0.0874 0.111)
OKLCHoklch(92.37% 0.141 128.2)
XYZxyz(62.8818, 81.6737, 38.4330)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF88F #BD8FF8
analogous
#F8F28F #CAF88F #96F88F
triadic
#CAF88F #8FCAF8 #F88FCA
tetradic
#CAF88F #8FF8F2 #BD8FF8 #F88F96
square
#CAF88F #8FF8F2 #BD8FF8 #F88F96
split-complementary
#CAF88F #8F96F8 #F28FF8
monochromatic
#93F11C #AFF455 #CAF88F #E5FCC9 #F1FDE2

Accessibility & contrast

On white

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

On black

17.34
#CAF88F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF88F
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF88F#FFFFFF#000000##000000
##CAF88F1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB87
Deuteranopia (green-blind)
#FBE895
Tritanopia (blue-blind)
#CEF0DF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf88f;
/* rgb */ color: rgb(202, 248, 143);
/* oklch */ color: oklch(92.4% 0.141 128.2);
Tailwind
colors: {
  custom: {
    50: '#dcfab1',
    500: '#caf88f',
    950: '#000000',
  },
}
SCSS
$custom: #caf88f;
$custom-light: #dcfab1;
$custom-dark: #000000;
JSON
{
  "hex": "#caf88f",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 143
  },
  "hsl": {
    "h": 86.286,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9237,
    "c": 0.14129,
    "h": 128.2
  },
  "luminance": 0.81675
}

Semantic roles & 50–950 ramp

primary
#CAF88F
secondary
#8E55D7
accent
#01E565
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAF88F

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

Preview Lab → · Contrast checker → · Palette generator →

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