#CAF57A#CAF57A

#CAF57A is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.4% C 0.158 H 125.3°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#CAF57A
RGBrgb(202, 245, 122)
HSLhsl(81, 86%, 72%)
HSVhsv(81, 50%, 96%)
CMYKcmyk(17.6%, 0%, 50.2%, 3.9%)
CIE-LABlab(91.35, -32.58, 54.20)
CIE-LCHlch(91.35, 63.24, 121.01°)
OKLaboklab(91.42% -0.0913 0.1289)
OKLCHoklch(91.42% 0.158 125.3)
XYZxyz(60.5223, 79.2660, 30.5199)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF57A #A57AF5
analogous
#F5E37A #CAF57A #8DF57A
triadic
#CAF57A #7ACAF5 #F57ACA
tetradic
#CAF57A #7AF5E3 #A57AF5 #F57A8D
square
#CAF57A #7AF5E3 #A57AF5 #F57A8D
split-complementary
#CAF57A #7A8DF5 #E37AF5
monochromatic
#9AE311 #B3F141 #CAF57A #E1F9B3 #F4FDE3

Accessibility & contrast

On white

1.25
#CAF57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#CAF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF57A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF57A#FFFFFF#000000##000000
##CAF57A1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FAE681
Tritanopia (blue-blind)
#D1EBD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf57a;
/* rgb */ color: rgb(202, 245, 122);
/* oklch */ color: oklch(91.4% 0.158 125.3);
Tailwind
colors: {
  custom: {
    50: '#dcf8a3',
    500: '#caf57a',
    950: '#000000',
  },
}
SCSS
$custom: #caf57a;
$custom-light: #dcf8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#caf57a",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 80.976,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9142,
    "c": 0.15795,
    "h": 125.3
  },
  "luminance": 0.79267
}

Semantic roles & 50–950 ramp

primary
#CAF57A
secondary
#7443D0
accent
#03E351
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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