#CAF381#CAF381

#CAF381 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.148 H 125.5°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#CAF381
RGBrgb(202, 243, 129)
HSLhsl(82, 83%, 73%)
HSVhsv(82, 47%, 95%)
CMYKcmyk(16.9%, 0%, 46.9%, 4.7%)
CIE-LABlab(90.89, -30.94, 50.38)
CIE-LCHlch(90.89, 59.12, 121.55°)
OKLaboklab(91.07% -0.0862 0.1209)
OKLCHoklch(91.07% 0.149 125.5)
XYZxyz(60.3700, 78.2422, 32.6864)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF381 #AA81F3
analogous
#F3E381 #CAF381 #91F381
triadic
#CAF381 #81CAF3 #F381CA
tetradic
#CAF381 #81F3E3 #AA81F3 #F38191
square
#CAF381 #81F3E3 #AA81F3 #F38191
split-complementary
#CAF381 #8191F3 #E381F3
monochromatic
#9AE416 #B2EE49 #CAF381 #E2F8B9 #F3FCE3

Accessibility & contrast

On white

1.26
#CAF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#CAF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF381
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF381#FFFFFF#000000##000000
##CAF3811.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE677
Deuteranopia (green-blind)
#F8E487
Tritanopia (blue-blind)
#D0EAD8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf381;
/* rgb */ color: rgb(202, 243, 129);
/* oklch */ color: oklch(91.1% 0.148 125.5);
Tailwind
colors: {
  custom: {
    50: '#dcf7a8',
    500: '#caf381',
    950: '#000000',
  },
}
SCSS
$custom: #caf381;
$custom-light: #dcf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#caf381",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 81.579,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91073,
    "c": 0.1485,
    "h": 125.5
  },
  "luminance": 0.78243
}

Semantic roles & 50–950 ramp

primary
#CAF381
secondary
#794ACF
accent
#06DF54
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF381

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

Preview Lab → · Contrast checker → · Palette generator →

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