#CAF159#CAF159

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

Color values

HEX#CAF159
RGBrgb(202, 241, 89)
HSLhsl(75, 84%, 65%)
HSVhsv(75, 63%, 95%)
CMYKcmyk(16.2%, 0%, 63.1%, 5.5%)
CIE-LABlab(89.95, -33.51, 66.89)
CIE-LCHlch(89.95, 74.82, 116.61°)
OKLaboklab(90.19% -0.0968 0.1527)
OKLCHoklch(90.19% 0.181 122.4)
XYZxyz(57.6162, 76.1883, 21.1197)
Luminance0.7619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF159 #8059F1
analogous
#F1CC59 #CAF159 #7EF159
triadic
#CAF159 #59CAF1 #F159CA
tetradic
#CAF159 #59F1CC #8059F1 #F1597E
square
#CAF159 #59F1CC #8059F1 #F1597E
split-complementary
#CAF159 #597EF1 #CC59F1
monochromatic
#92BF10 #B8EC21 #CAF159 #DCF691 #EEFBCA

Accessibility & contrast

On white

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

On black

16.24
#CAF159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF159
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF159#FFFFFF#000000##000000
##CAF1591.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE346
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#D4E5D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf159;
/* rgb */ color: rgb(202, 241, 89);
/* oklch */ color: oklch(90.2% 0.181 122.4);
Tailwind
colors: {
  custom: {
    50: '#ddf58e',
    500: '#caf159',
    950: '#000000',
  },
}
SCSS
$custom: #caf159;
$custom-light: #ddf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf159",
  "rgb": {
    "r": 202,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 75.395,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90185,
    "c": 0.18082,
    "h": 122.4
  },
  "luminance": 0.76188
}

Semantic roles & 50–950 ramp

primary
#CAF159
secondary
#5531BE
accent
#05E13D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF159

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

Preview Lab → · Contrast checker → · Palette generator →

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