#CAF771#CAF771

#CAF771 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.8% C 0.169 H 125.1°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#CAF771
RGBrgb(202, 247, 113)
HSLhsl(80, 89%, 71%)
HSVhsv(80, 54%, 97%)
CMYKcmyk(18.2%, 0%, 54.3%, 3.1%)
CIE-LABlab(91.81, -34.34, 58.81)
CIE-LCHlch(91.81, 68.10, 120.28°)
OKLaboklab(91.75% -0.097 0.1381)
OKLCHoklch(91.75% 0.169 125.1)
XYZxyz(60.5986, 80.2698, 27.9207)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF771 #9E71F7
analogous
#F7E171 #CAF771 #87F771
triadic
#CAF771 #71CAF7 #F771CA
tetradic
#CAF771 #71F7E1 #9E71F7 #F77187
square
#CAF771 #71F7E1 #9E71F7 #F77187
split-complementary
#CAF771 #7187F7 #E171F7
monochromatic
#9AE10D #B4F437 #CAF771 #E0FAAB #F4FDE2

Accessibility & contrast

On white

1.23
#CAF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#CAF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF771
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF771#FFFFFF#000000##000000
##CAF7711.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FDE77A
Tritanopia (blue-blind)
#D1EDD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #caf771;
/* rgb */ color: rgb(202, 247, 113);
/* oklch */ color: oklch(91.8% 0.169 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddfa9d',
    500: '#caf771',
    950: '#000000',
  },
}
SCSS
$custom: #caf771;
$custom-light: #ddfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf771",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 80.149,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91753,
    "c": 0.16878,
    "h": 125.1
  },
  "luminance": 0.8027
}

Semantic roles & 50–950 ramp

primary
#CAF771
secondary
#6D3AD2
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF771

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

Preview Lab → · Contrast checker → · Palette generator →

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