#CAF058#CAF058

#CAF058 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 90.0% C 0.180 H 122.1°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#CAF058
RGBrgb(202, 240, 88)
HSLhsl(75, 84%, 64%)
HSVhsv(75, 63%, 94%)
CMYKcmyk(15.8%, 0%, 63.3%, 5.9%)
CIE-LABlab(89.66, -33.12, 66.99)
CIE-LCHlch(89.66, 74.73, 116.30°)
OKLaboklab(89.96% -0.0958 0.1528)
OKLCHoklch(89.96% 0.18 122.1)
XYZxyz(57.2793, 75.5812, 20.8017)
Luminance0.7558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF058 #7E58F0
analogous
#F0CA58 #CAF058 #7EF058
triadic
#CAF058 #58CAF0 #F058CA
tetradic
#CAF058 #58F0CA #7E58F0 #F0587E
square
#CAF058 #58F0CA #7E58F0 #F0587E
split-complementary
#CAF058 #587EF0 #CA58F0
monochromatic
#92BD11 #B8EB20 #CAF058 #DCF590 #EEFAC8

Accessibility & contrast

On white

1.30
#CAF058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#CAF058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF058
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF058#FFFFFF#000000##000000
##CAF0581.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE244
Deuteranopia (green-blind)
#F9E163
Tritanopia (blue-blind)
#D4E4D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf058;
/* rgb */ color: rgb(202, 240, 88);
/* oklch */ color: oklch(90.0% 0.180 122.1);
Tailwind
colors: {
  custom: {
    50: '#ddf58e',
    500: '#caf058',
    950: '#000000',
  },
}
SCSS
$custom: #caf058;
$custom-light: #ddf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf058",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 75,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89955,
    "c": 0.18035,
    "h": 122.1
  },
  "luminance": 0.75581
}

Semantic roles & 50–950 ramp

primary
#CAF058
secondary
#5431BB
accent
#06E03C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF058

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

Preview Lab → · Contrast checker → · Palette generator →

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