#CAFA8F#CAFA8F

#CAFA8F is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.144 H 128.7°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#CAFA8F
RGBrgb(202, 250, 143)
HSLhsl(87, 91%, 77%)
HSVhsv(87, 43%, 98%)
CMYKcmyk(19.2%, 0%, 42.8%, 2%)
CIE-LABlab(92.97, -32.62, 46.29)
CIE-LCHlch(92.97, 56.63, 125.17°)
OKLaboklab(92.81% -0.09 0.1126)
OKLCHoklch(92.81% 0.144 128.7)
XYZxyz(63.5000, 82.9100, 38.6390)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA8F #BF8FFA
analogous
#FAF58F #CAFA8F #95FA8F
triadic
#CAFA8F #8FCAFA #FA8FCA
tetradic
#CAFA8F #8FFAF5 #BF8FFA #FA8F95
square
#CAFA8F #8FFAF5 #BF8FFA #FA8F95
split-complementary
#CAFA8F #8F95FA #F58FFA
monochromatic
#93F51A #AEF754 #CAFA8F #E6FDCA #F1FEE2

Accessibility & contrast

On white

1.19
#CAFA8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#CAFA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA8F
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA8F#FFFFFF#000000##000000
##CAFA8F1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED87
Deuteranopia (green-blind)
#FCEA95
Tritanopia (blue-blind)
#CEF2E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafa8f;
/* rgb */ color: rgb(202, 250, 143);
/* oklch */ color: oklch(92.8% 0.144 128.7);
Tailwind
colors: {
  custom: {
    50: '#dcfcb1',
    500: '#cafa8f',
    950: '#000000',
  },
}
SCSS
$custom: #cafa8f;
$custom-light: #dcfcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa8f",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 143
  },
  "hsl": {
    "h": 86.916,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92808,
    "c": 0.14412,
    "h": 128.7
  },
  "luminance": 0.82911
}

Semantic roles & 50–950 ramp

primary
#CAFA8F
secondary
#9054D9
accent
#00E667
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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