#CAF05B#CAF05B

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

Color values

HEX#CAF05B
RGBrgb(202, 240, 91)
HSLhsl(75, 83%, 65%)
HSVhsv(75, 62%, 94%)
CMYKcmyk(15.8%, 0%, 62.1%, 5.9%)
CIE-LABlab(89.69, -32.91, 65.81)
CIE-LCHlch(89.69, 73.58, 116.57°)
OKLaboklab(89.98% -0.095 0.1507)
OKLCHoklch(89.98% 0.178 122.2)
XYZxyz(57.4061, 75.6319, 21.4696)
Luminance0.7563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF05B #815BF0
analogous
#F0CB5B #CAF05B #80F05B
triadic
#CAF05B #5BCAF0 #F05BCA
tetradic
#CAF05B #5BF0CB #815BF0 #F05B80
square
#CAF05B #5BF0CB #815BF0 #F05B80
split-complementary
#CAF05B #5B80F0 #CB5BF0
monochromatic
#93BF11 #B8EB23 #CAF05B #DCF593 #EEFACB

Accessibility & contrast

On white

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

On black

16.13
#CAF05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF05B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF05B#FFFFFF#000000##000000
##CAF05B1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE249
Deuteranopia (green-blind)
#F9E166
Tritanopia (blue-blind)
#D4E5D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf05b;
/* rgb */ color: rgb(202, 240, 91);
/* oklch */ color: oklch(90.0% 0.178 122.2);
Tailwind
colors: {
  custom: {
    50: '#ddf590',
    500: '#caf05b',
    950: '#000000',
  },
}
SCSS
$custom: #caf05b;
$custom-light: #ddf590;
$custom-dark: #000000;
JSON
{
  "hex": "#caf05b",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 91
  },
  "hsl": {
    "h": 75.302,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89982,
    "c": 0.17811,
    "h": 122.2
  },
  "luminance": 0.75632
}

Semantic roles & 50–950 ramp

primary
#CAF05B
secondary
#5532BD
accent
#06E03D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF05B

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

Preview Lab → · Contrast checker → · Palette generator →

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