#CAF571#CAF571

#CAF571 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.3% C 0.166 H 124.6°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#CAF571
RGBrgb(202, 245, 113)
HSLhsl(80, 87%, 70%)
HSVhsv(80, 54%, 96%)
CMYKcmyk(17.6%, 0%, 53.9%, 3.9%)
CIE-LABlab(91.26, -33.43, 58.17)
CIE-LCHlch(91.26, 67.09, 119.88°)
OKLaboklab(91.31% -0.0945 0.1368)
OKLCHoklch(91.31% 0.166 124.6)
XYZxyz(59.9903, 79.0532, 27.7179)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF571 #9C71F5
analogous
#F5DE71 #CAF571 #88F571
triadic
#CAF571 #71CAF5 #F571CA
tetradic
#CAF571 #71F5DE #9C71F5 #F57188
square
#CAF571 #71F5DE #9C71F5 #F57188
split-complementary
#CAF571 #7188F5 #DE71F5
monochromatic
#99DC10 #B5F138 #CAF571 #DFF9AA #F4FDE2

Accessibility & contrast

On white

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

On black

16.81
#CAF571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF571
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF571#FFFFFF#000000##000000
##CAF5711.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#D2EBD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf571;
/* rgb */ color: rgb(202, 245, 113);
/* oklch */ color: oklch(91.3% 0.166 124.6);
Tailwind
colors: {
  custom: {
    50: '#dcf89d',
    500: '#caf571',
    950: '#000000',
  },
}
SCSS
$custom: #caf571;
$custom-light: #dcf89d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf571",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 79.545,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91311,
    "c": 0.1662,
    "h": 124.6
  },
  "luminance": 0.79054
}

Semantic roles & 50–950 ramp

primary
#CAF571
secondary
#6B3BCF
accent
#02E34B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF571

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

Preview Lab → · Contrast checker → · Palette generator →

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