#CAF17C#CAF17C

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

Color values

HEX#CAF17C
RGBrgb(202, 241, 124)
HSLhsl(80, 81%, 72%)
HSVhsv(80, 49%, 95%)
CMYKcmyk(16.2%, 0%, 48.5%, 5.5%)
CIE-LABlab(90.29, -30.52, 51.99)
CIE-LCHlch(90.29, 60.29, 120.42°)
OKLaboklab(90.57% -0.0854 0.1241)
OKLCHoklch(90.57% 0.151 124.5)
XYZxyz(59.4505, 76.9220, 30.7803)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF17C #A37CF1
analogous
#F1DE7C #CAF17C #90F17C
triadic
#CAF17C #7CCAF1 #F17CCA
tetradic
#CAF17C #7CF1DE #A37CF1 #F17C90
square
#CAF17C #7CF1DE #A37CF1 #F17C90
split-complementary
#CAF17C #7C90F1 #DE7CF1
monochromatic
#9ADB17 #B4EB45 #CAF17C #E0F7B3 #F4FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF17C#FFFFFF#000000##000000
##CAF17C1.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)
#FCE472
Deuteranopia (green-blind)
#F7E383
Tritanopia (blue-blind)
#D1E7D6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf17c;
/* rgb */ color: rgb(202, 241, 124);
/* oklch */ color: oklch(90.6% 0.151 124.5);
Tailwind
colors: {
  custom: {
    50: '#dcf5a4',
    500: '#caf17c',
    950: '#000000',
  },
}
SCSS
$custom: #caf17c;
$custom-light: #dcf5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf17c",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 80,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90567,
    "c": 0.1507,
    "h": 124.5
  },
  "luminance": 0.76922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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