#CAF98A#CAF98A

#CAF98A is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.148 H 127.8°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#CAF98A
RGBrgb(202, 249, 138)
HSLhsl(85, 90%, 76%)
HSVhsv(85, 45%, 98%)
CMYKcmyk(18.9%, 0%, 44.6%, 2.4%)
CIE-LABlab(92.64, -32.73, 48.26)
CIE-LCHlch(92.64, 58.32, 124.14°)
OKLaboklab(92.52% -0.0906 0.1167)
OKLCHoklch(92.52% 0.148 127.8)
XYZxyz(62.8197, 82.1420, 36.5852)
Luminance0.8214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF98A #B98AF9
analogous
#F9F08A #CAF98A #92F98A
triadic
#CAF98A #8ACAF9 #F98ACA
tetradic
#CAF98A #8AF9F0 #B98AF9 #F98A92
square
#CAF98A #8AF9F0 #B98AF9 #F98A92
split-complementary
#CAF98A #8A92F9 #F08AF9
monochromatic
#95F316 #B0F650 #CAF98A #E4FCC4 #F2FEE2

Accessibility & contrast

On white

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

On black

17.43
#CAF98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF98A
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF98A#FFFFFF#000000##000000
##CAF98A1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC81
Deuteranopia (green-blind)
#FCE990
Tritanopia (blue-blind)
#CFF0DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf98a;
/* rgb */ color: rgb(202, 249, 138);
/* oklch */ color: oklch(92.5% 0.148 127.8);
Tailwind
colors: {
  custom: {
    50: '#dcfbae',
    500: '#caf98a',
    950: '#000000',
  },
}
SCSS
$custom: #caf98a;
$custom-light: #dcfbae;
$custom-dark: #000000;
JSON
{
  "hex": "#caf98a",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 85.405,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92515,
    "c": 0.14778,
    "h": 127.8
  },
  "luminance": 0.82143
}

Semantic roles & 50–950 ramp

primary
#CAF98A
secondary
#8950D7
accent
#00E661
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF98A

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

Preview Lab → · Contrast checker → · Palette generator →

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