#CAF781#CAF781

#CAF781 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.0% C 0.154 H 126.4°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#CAF781
RGBrgb(202, 247, 129)
HSLhsl(83, 88%, 74%)
HSVhsv(83, 48%, 97%)
CMYKcmyk(18.2%, 0%, 47.8%, 3.1%)
CIE-LABlab(91.98, -32.79, 51.71)
CIE-LCHlch(91.98, 61.23, 122.38°)
OKLaboklab(91.95% -0.0914 0.1239)
OKLCHoklch(91.95% 0.154 126.4)
XYZxyz(61.5801, 80.6624, 33.0897)
Luminance0.8066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF781 #AE81F7
analogous
#F7E981 #CAF781 #8FF781
triadic
#CAF781 #81CAF7 #F781CA
tetradic
#CAF781 #81F7E9 #AE81F7 #F7818F
square
#CAF781 #81F7E9 #AE81F7 #F7818F
split-complementary
#CAF781 #818FF7 #E981F7
monochromatic
#99EE0F #B2F347 #CAF781 #E2FBBB #F3FDE2

Accessibility & contrast

On white

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

On black

17.13
#CAF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF781
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF781#FFFFFF#000000##000000
##CAF7811.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FBE788
Tritanopia (blue-blind)
#D0EEDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf781;
/* rgb */ color: rgb(202, 247, 129);
/* oklch */ color: oklch(92.0% 0.154 126.4);
Tailwind
colors: {
  custom: {
    50: '#dcfaa8',
    500: '#caf781',
    950: '#000000',
  },
}
SCSS
$custom: #caf781;
$custom-light: #dcfaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#caf781",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 82.881,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91951,
    "c": 0.15394,
    "h": 126.4
  },
  "luminance": 0.80663
}

Semantic roles & 50–950 ramp

primary
#CAF781
secondary
#7E49D4
accent
#01E558
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF781

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

Preview Lab → · Contrast checker → · Palette generator →

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