#CAF98F#CAF98F

#CAF98F is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.143 H 128.4°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#CAF98F
RGBrgb(202, 249, 143)
HSLhsl(87, 90%, 77%)
HSVhsv(87, 43%, 98%)
CMYKcmyk(18.9%, 0%, 42.6%, 2.4%)
CIE-LABlab(92.70, -32.16, 45.95)
CIE-LCHlch(92.70, 56.08, 124.99°)
OKLaboklab(92.59% -0.0887 0.1118)
OKLCHoklch(92.59% 0.143 128.4)
XYZxyz(63.1901, 82.2902, 38.5357)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF98F #BE8FF9
analogous
#F9F38F #CAF98F #95F98F
triadic
#CAF98F #8FCAF9 #F98FCA
tetradic
#CAF98F #8FF9F3 #BE8FF9 #F98F95
square
#CAF98F #8FF9F3 #BE8FF9 #F98F95
split-complementary
#CAF98F #8F95F9 #F38FF9
monochromatic
#93F31B #AFF655 #CAF98F #E5FCC9 #F1FDE2

Accessibility & contrast

On white

1.20
#CAF98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#CAF98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF98F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF98F#FFFFFF#000000##000000
##CAF98F1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC87
Deuteranopia (green-blind)
#FCE995
Tritanopia (blue-blind)
#CEF1DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf98f;
/* rgb */ color: rgb(202, 249, 143);
/* oklch */ color: oklch(92.6% 0.143 128.4);
Tailwind
colors: {
  custom: {
    50: '#dcfbb1',
    500: '#caf98f',
    950: '#000000',
  },
}
SCSS
$custom: #caf98f;
$custom-light: #dcfbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#caf98f",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 143
  },
  "hsl": {
    "h": 86.604,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92589,
    "c": 0.14271,
    "h": 128.4
  },
  "luminance": 0.82291
}

Semantic roles & 50–950 ramp

primary
#CAF98F
secondary
#8F54D8
accent
#00E666
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAF98F

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

Preview Lab → · Contrast checker → · Palette generator →

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