#CAF259#CAF259

#CAF259 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.182 H 122.6°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#CAF259
RGBrgb(202, 242, 89)
HSLhsl(76, 85%, 65%)
HSVhsv(76, 63%, 95%)
CMYKcmyk(16.5%, 0%, 63.2%, 5.1%)
CIE-LABlab(90.22, -33.96, 67.19)
CIE-LCHlch(90.22, 75.28, 116.82°)
OKLaboklab(90.41% -0.0981 0.1533)
OKLCHoklch(90.41% 0.182 122.6)
XYZxyz(57.9130, 76.7819, 21.2186)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF259 #8159F2
analogous
#F2CD59 #CAF259 #7EF259
triadic
#CAF259 #59CAF2 #F259CA
tetradic
#CAF259 #59F2CD #8159F2 #F2597E
square
#CAF259 #59F2CD #8159F2 #F2597E
split-complementary
#CAF259 #597EF2 #CD59F2
monochromatic
#93C10F #B8EE20 #CAF259 #DCF692 #EEFBCB

Accessibility & contrast

On white

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

On black

16.36
#CAF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF259
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF259#FFFFFF#000000##000000
##CAF2591.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE445
Deuteranopia (green-blind)
#FAE364
Tritanopia (blue-blind)
#D4E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf259;
/* rgb */ color: rgb(202, 242, 89);
/* oklch */ color: oklch(90.4% 0.182 122.6);
Tailwind
colors: {
  custom: {
    50: '#ddf68e',
    500: '#caf259',
    950: '#000000',
  },
}
SCSS
$custom: #caf259;
$custom-light: #ddf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf259",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 75.686,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90406,
    "c": 0.18202,
    "h": 122.6
  },
  "luminance": 0.76782
}

Semantic roles & 50–950 ramp

primary
#CAF259
secondary
#5530BF
accent
#04E23E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF259

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

Preview Lab → · Contrast checker → · Palette generator →

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