#CAF977#CAF977

#CAF977 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.3% C 0.166 H 126.0°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#CAF977
RGBrgb(202, 249, 119)
HSLhsl(82, 92%, 72%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(18.9%, 0%, 52.2%, 2.4%)
CIE-LABlab(92.42, -34.70, 56.83)
CIE-LCHlch(92.42, 66.59, 121.41°)
OKLaboklab(92.26% -0.0975 0.1344)
OKLCHoklch(92.26% 0.166 126)
XYZxyz(61.5625, 81.6391, 29.9638)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF977 #A677F9
analogous
#F9E777 #CAF977 #89F977
triadic
#CAF977 #77CAF9 #F977CA
tetradic
#CAF977 #77F9E7 #A677F9 #F97789
square
#CAF977 #77F9E7 #A677F9 #F97789
split-complementary
#CAF977 #7789F9 #E777F9
monochromatic
#9AEB0A #B3F63C #CAF977 #E1FCB2 #F4FEE2

Accessibility & contrast

On white

1.21
#CAF977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#CAF977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF977
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF977#FFFFFF#000000##000000
##CAF9771.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#D1EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf977;
/* rgb */ color: rgb(202, 249, 119);
/* oklch */ color: oklch(92.3% 0.166 126.0);
Tailwind
colors: {
  custom: {
    50: '#dcfba1',
    500: '#caf977',
    950: '#000000',
  },
}
SCSS
$custom: #caf977;
$custom-light: #dcfba1;
$custom-dark: #000000;
JSON
{
  "hex": "#caf977",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 81.692,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92264,
    "c": 0.16601,
    "h": 126
  },
  "luminance": 0.8164
}

Semantic roles & 50–950 ramp

primary
#CAF977
secondary
#753FD5
accent
#00E653
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF977

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

Preview Lab → · Contrast checker → · Palette generator →

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