#CAF980#CAF980

#CAF980 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.158 H 126.8°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#CAF980
RGBrgb(202, 249, 128)
HSLhsl(83, 91%, 74%)
HSVhsv(83, 49%, 98%)
CMYKcmyk(18.9%, 0%, 48.6%, 2.4%)
CIE-LABlab(92.52, -33.81, 52.83)
CIE-LCHlch(92.52, 62.72, 122.62°)
OKLaboklab(92.38% -0.0943 0.1263)
OKLCHoklch(92.38% 0.158 126.8)
XYZxyz(62.1288, 81.8657, 32.9463)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF980 #AF80F9
analogous
#F9EC80 #CAF980 #8EF980
triadic
#CAF980 #80CAF9 #F980CA
tetradic
#CAF980 #80F9EC #AF80F9 #F9808E
square
#CAF980 #80F9EC #AF80F9 #F9808E
split-complementary
#CAF980 #808EF9 #EC80F9
monochromatic
#99F30B #B2F646 #CAF980 #E2FCBA #F3FEE2

Accessibility & contrast

On white

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

On black

17.37
#CAF980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF980
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF980#FFFFFF#000000##000000
##CAF9801.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB75
Deuteranopia (green-blind)
#FDE987
Tritanopia (blue-blind)
#D0F0DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf980;
/* rgb */ color: rgb(202, 249, 128);
/* oklch */ color: oklch(92.4% 0.158 126.8);
Tailwind
colors: {
  custom: {
    50: '#dcfba7',
    500: '#caf980',
    950: '#000000',
  },
}
SCSS
$custom: #caf980;
$custom-light: #dcfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#caf980",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 83.306,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92377,
    "c": 0.1576,
    "h": 126.8
  },
  "luminance": 0.81866
}

Semantic roles & 50–950 ramp

primary
#CAF980
secondary
#7F47D6
accent
#00E659
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CAF980

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

Preview Lab → · Contrast checker → · Palette generator →

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