#CAF158#CAF158

#CAF158 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.2% C 0.182 H 122.3°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#CAF158
RGBrgb(202, 241, 88)
HSLhsl(75, 85%, 65%)
HSVhsv(75, 63%, 95%)
CMYKcmyk(16.2%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.94, -33.57, 67.28)
CIE-LCHlch(89.94, 75.20, 116.52°)
OKLaboklab(90.18% -0.0971 0.1534)
OKLCHoklch(90.18% 0.182 122.3)
XYZxyz(57.5745, 76.1716, 20.9001)
Luminance0.7617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF158 #7F58F1
analogous
#F1CB58 #CAF158 #7EF158
triadic
#CAF158 #58CAF1 #F158CA
tetradic
#CAF158 #58F1CB #7F58F1 #F1587E
square
#CAF158 #58F1CB #7F58F1 #F1587E
split-complementary
#CAF158 #587EF1 #CB58F1
monochromatic
#92BF10 #B8EC20 #CAF158 #DCF690 #EEFAC9

Accessibility & contrast

On white

1.29
#CAF158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#CAF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF158
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF158#FFFFFF#000000##000000
##CAF1581.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE344
Deuteranopia (green-blind)
#FAE263
Tritanopia (blue-blind)
#D4E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf158;
/* rgb */ color: rgb(202, 241, 88);
/* oklch */ color: oklch(90.2% 0.182 122.3);
Tailwind
colors: {
  custom: {
    50: '#ddf58e',
    500: '#caf158',
    950: '#000000',
  },
}
SCSS
$custom: #caf158;
$custom-light: #ddf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf158",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 75.294,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90176,
    "c": 0.18155,
    "h": 122.3
  },
  "luminance": 0.76172
}

Semantic roles & 50–950 ramp

primary
#CAF158
secondary
#5430BD
accent
#05E13D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF158

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

Preview Lab → · Contrast checker → · Palette generator →

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