#CAF281#CAF281

#CAF281 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.9% C 0.147 H 125.2°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#CAF281
RGBrgb(202, 242, 129)
HSLhsl(81, 81%, 73%)
HSVhsv(81, 47%, 95%)
CMYKcmyk(16.5%, 0%, 46.7%, 5.1%)
CIE-LABlab(90.62, -30.47, 50.04)
CIE-LCHlch(90.62, 58.59, 121.34°)
OKLaboklab(90.85% -0.0849 0.1202)
OKLCHoklch(90.85% 0.147 125.2)
XYZxyz(60.0715, 77.6453, 32.5869)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF281 #A981F2
analogous
#F2E281 #CAF281 #91F281
triadic
#CAF281 #81CAF2 #F281CA
tetradic
#CAF281 #81F2E2 #A981F2 #F28191
square
#CAF281 #81F2E2 #A981F2 #F28191
split-complementary
#CAF281 #8191F2 #E281F2
monochromatic
#9AE117 #B3EC4A #CAF281 #E1F8B8 #F3FCE3

Accessibility & contrast

On white

1.27
#CAF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#CAF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF281
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF281#FFFFFF#000000##000000
##CAF2811.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F7E487
Tritanopia (blue-blind)
#D0E9D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #caf281;
/* rgb */ color: rgb(202, 242, 129);
/* oklch */ color: oklch(90.9% 0.147 125.2);
Tailwind
colors: {
  custom: {
    50: '#dcf6a8',
    500: '#caf281',
    950: '#000000',
  },
}
SCSS
$custom: #caf281;
$custom-light: #dcf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#caf281",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 81.239,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90854,
    "c": 0.14715,
    "h": 125.2
  },
  "luminance": 0.77646
}

Semantic roles & 50–950 ramp

primary
#CAF281
secondary
#784ACD
accent
#08DE54
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CAF281

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

Preview Lab → · Contrast checker → · Palette generator →

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