#CAF17B#CAF17B

#CAF17B is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.152 H 124.5°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#CAF17B
RGBrgb(202, 241, 123)
HSLhsl(80, 81%, 71%)
HSVhsv(80, 49%, 95%)
CMYKcmyk(16.2%, 0%, 49%, 5.5%)
CIE-LABlab(90.27, -30.62, 52.44)
CIE-LCHlch(90.27, 60.73, 120.28°)
OKLaboklab(90.55% -0.0858 0.1251)
OKLCHoklch(90.55% 0.152 124.5)
XYZxyz(59.3876, 76.8968, 30.4489)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF17B #A27BF1
analogous
#F1DD7B #CAF17B #8FF17B
triadic
#CAF17B #7BCAF1 #F17BCA
tetradic
#CAF17B #7BF1DD #A27BF1 #F17B8F
square
#CAF17B #7BF1DD #A27BF1 #F17B8F
split-complementary
#CAF17B #7B8FF1 #DD7BF1
monochromatic
#9ADA17 #B4EB44 #CAF17B #E0F7B2 #F4FCE3

Accessibility & contrast

On white

1.28
#CAF17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#CAF17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF17B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF17B#FFFFFF#000000##000000
##CAF17B1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE471
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#D1E7D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf17b;
/* rgb */ color: rgb(202, 241, 123);
/* oklch */ color: oklch(90.6% 0.152 124.5);
Tailwind
colors: {
  custom: {
    50: '#dcf5a4',
    500: '#caf17b',
    950: '#000000',
  },
}
SCSS
$custom: #caf17b;
$custom-light: #dcf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf17b",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 123
  },
  "hsl": {
    "h": 79.831,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90554,
    "c": 0.15167,
    "h": 124.5
  },
  "luminance": 0.76897
}

Semantic roles & 50–950 ramp

primary
#CAF17B
secondary
#7145CB
accent
#08DD4F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF17B

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

Preview Lab → · Contrast checker → · Palette generator →

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