#CAF581#CAF581

#CAF581 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.5% C 0.151 H 126.0°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#CAF581
RGBrgb(202, 245, 129)
HSLhsl(82, 85%, 73%)
HSVhsv(82, 47%, 96%)
CMYKcmyk(17.6%, 0%, 47.3%, 3.9%)
CIE-LABlab(91.44, -31.86, 51.04)
CIE-LCHlch(91.44, 60.17, 121.97°)
OKLaboklab(91.51% -0.0888 0.1224)
OKLCHoklch(91.51% 0.151 126)
XYZxyz(60.9718, 79.4457, 32.8870)
Luminance0.7945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF581 #AC81F5
analogous
#F5E681 #CAF581 #90F581
triadic
#CAF581 #81CAF5 #F581CA
tetradic
#CAF581 #81F5E6 #AC81F5 #F58190
square
#CAF581 #81F5E6 #AC81F5 #F58190
split-complementary
#CAF581 #8190F5 #E681F5
monochromatic
#9AE913 #B2F048 #CAF581 #E2F9BA #F3FDE3

Accessibility & contrast

On white

1.24
#CAF581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#CAF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF581
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF581#FFFFFF#000000##000000
##CAF5811.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FAE688
Tritanopia (blue-blind)
#D0ECDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #caf581;
/* rgb */ color: rgb(202, 245, 129);
/* oklch */ color: oklch(91.5% 0.151 126.0);
Tailwind
colors: {
  custom: {
    50: '#dcf8a8',
    500: '#caf581',
    950: '#000000',
  },
}
SCSS
$custom: #caf581;
$custom-light: #dcf8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#caf581",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 82.241,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91512,
    "c": 0.15122,
    "h": 126
  },
  "luminance": 0.79446
}

Semantic roles & 50–950 ramp

primary
#CAF581
secondary
#7C49D1
accent
#04E256
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF581

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

Preview Lab → · Contrast checker → · Palette generator →

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