#CAF772#CAF772

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

Color values

HEX#CAF772
RGBrgb(202, 247, 114)
HSLhsl(80, 89%, 71%)
HSVhsv(80, 54%, 97%)
CMYKcmyk(18.2%, 0%, 53.8%, 3.1%)
CIE-LABlab(91.82, -34.25, 58.38)
CIE-LCHlch(91.82, 67.68, 120.40°)
OKLaboklab(91.76% -0.0967 0.1373)
OKLCHoklch(91.76% 0.168 125.2)
XYZxyz(60.6552, 80.2924, 28.2188)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF772 #9F72F7
analogous
#F7E272 #CAF772 #87F772
triadic
#CAF772 #72CAF7 #F772CA
tetradic
#CAF772 #72F7E2 #9F72F7 #F77287
square
#CAF772 #72F7E2 #9F72F7 #F77287
split-complementary
#CAF772 #7287F7 #E272F7
monochromatic
#9AE20D #B4F438 #CAF772 #E0FAAC #F4FDE2

Accessibility & contrast

On white

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

On black

17.06
#CAF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF772
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF772#FFFFFF#000000##000000
##CAF7721.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf772;
/* rgb */ color: rgb(202, 247, 114);
/* oklch */ color: oklch(91.8% 0.168 125.2);
Tailwind
colors: {
  custom: {
    50: '#dcfa9e',
    500: '#caf772',
    950: '#000000',
  },
}
SCSS
$custom: #caf772;
$custom-light: #dcfa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf772",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 80.301,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.1679,
    "h": 125.2
  },
  "luminance": 0.80293
}

Semantic roles & 50–950 ramp

primary
#CAF772
secondary
#6E3BD2
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF772

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

Preview Lab → · Contrast checker → · Palette generator →

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