#CAF18C#CAF18C

#CAF18C is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.8% C 0.135 H 126.2°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CAF18C
RGBrgb(202, 241, 140)
HSLhsl(83, 78%, 75%)
HSVhsv(83, 42%, 95%)
CMYKcmyk(16.2%, 0%, 41.9%, 5.5%)
CIE-LABlab(90.49, -28.78, 44.60)
CIE-LCHlch(90.49, 53.08, 122.83°)
OKLaboklab(90.79% -0.0795 0.1086)
OKLCHoklch(90.79% 0.135 126.2)
XYZxyz(60.5456, 77.3600, 36.5481)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF18C #B38CF1
analogous
#F1E58C #CAF18C #98F18C
triadic
#CAF18C #8CCAF1 #F18CCA
tetradic
#CAF18C #8CF1E5 #B38CF1 #F18C98
square
#CAF18C #8CF1E5 #B38CF1 #F18C98
split-complementary
#CAF18C #8C98F1 #E58CF1
monochromatic
#98E41F #B1EA55 #CAF18C #E3F8C3 #F2FCE4

Accessibility & contrast

On white

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

On black

16.47
#CAF18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF18C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF18C#FFFFFF#000000##000000
##CAF18C1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE584
Deuteranopia (green-blind)
#F5E391
Tritanopia (blue-blind)
#CFE9D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #caf18c;
/* rgb */ color: rgb(202, 241, 140);
/* oklch */ color: oklch(90.8% 0.135 126.2);
Tailwind
colors: {
  custom: {
    50: '#dbf5af',
    500: '#caf18c',
    950: '#000000',
  },
}
SCSS
$custom: #caf18c;
$custom-light: #dbf5af;
$custom-dark: #000000;
JSON
{
  "hex": "#caf18c",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 140
  },
  "hsl": {
    "h": 83.168,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90794,
    "c": 0.13454,
    "h": 126.2
  },
  "luminance": 0.77361
}

Semantic roles & 50–950 ramp

primary
#CAF18C
secondary
#8354CD
accent
#0BDB5B
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF18C

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

Preview Lab → · Contrast checker → · Palette generator →

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