#CAF982#CAF982

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

Color values

HEX#CAF982
RGBrgb(202, 249, 130)
HSLhsl(84, 91%, 74%)
HSVhsv(84, 48%, 98%)
CMYKcmyk(18.9%, 0%, 47.8%, 2.4%)
CIE-LABlab(92.54, -33.60, 51.92)
CIE-LCHlch(92.54, 61.84, 122.91°)
OKLaboklab(92.4% -0.0936 0.1244)
OKLCHoklch(92.4% 0.156 127)
XYZxyz(62.2617, 81.9188, 33.6465)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF982 #B182F9
analogous
#F9EC82 #CAF982 #8FF982
triadic
#CAF982 #82CAF9 #F982CA
tetradic
#CAF982 #82F9EC #B182F9 #F9828F
square
#CAF982 #82F9EC #B182F9 #F9828F
split-complementary
#CAF982 #828FF9 #EC82F9
monochromatic
#98F30D #B1F648 #CAF982 #E3FCBC #F3FEE2

Accessibility & contrast

On white

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

On black

17.38
#CAF982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF982
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF982#FFFFFF#000000##000000
##CAF9821.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB78
Deuteranopia (green-blind)
#FDE989
Tritanopia (blue-blind)
#D0F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf982;
/* rgb */ color: rgb(202, 249, 130);
/* oklch */ color: oklch(92.4% 0.156 127.0);
Tailwind
colors: {
  custom: {
    50: '#dcfba8',
    500: '#caf982',
    950: '#000000',
  },
}
SCSS
$custom: #caf982;
$custom-light: #dcfba8;
$custom-dark: #000000;
JSON
{
  "hex": "#caf982",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 83.697,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92404,
    "c": 0.15568,
    "h": 127
  },
  "luminance": 0.8192
}

Semantic roles & 50–950 ramp

primary
#CAF982
secondary
#8149D6
accent
#00E65B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF982

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

Preview Lab → · Contrast checker → · Palette generator →

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