#CAF04B#CAF04B

#CAF04B is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.9% C 0.189 H 121.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#CAF04B
RGBrgb(202, 240, 75)
HSLhsl(74, 85%, 62%)
HSVhsv(74, 69%, 94%)
CMYKcmyk(15.8%, 0%, 68.7%, 5.9%)
CIE-LABlab(89.57, -33.93, 71.82)
CIE-LCHlch(89.57, 79.43, 115.29°)
OKLaboklab(89.85% -0.0992 0.1611)
OKLCHoklch(89.85% 0.189 121.6)
XYZxyz(56.7880, 75.3847, 18.2142)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF04B #714BF0
analogous
#F0C34B #CAF04B #78F04B
triadic
#CAF04B #4BCAF0 #F04BCA
tetradic
#CAF04B #4BF0C3 #714BF0 #F04B78
square
#CAF04B #4BF0C3 #714BF0 #F04B78
split-complementary
#CAF04B #4B78F0 #C34BF0
monochromatic
#8CB20F #B9EA14 #CAF04B #DBF583 #EBF9BC

Accessibility & contrast

On white

1.31
#CAF04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#CAF04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF04B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF04B#FFFFFF#000000##000000
##CAF04B1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE230
Deuteranopia (green-blind)
#F9E158
Tritanopia (blue-blind)
#D5E4CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf04b;
/* rgb */ color: rgb(202, 240, 75);
/* oklch */ color: oklch(89.9% 0.189 121.6);
Tailwind
colors: {
  custom: {
    50: '#def587',
    500: '#caf04b',
    950: '#000000',
  },
}
SCSS
$custom: #caf04b;
$custom-light: #def587;
$custom-dark: #000000;
JSON
{
  "hex": "#caf04b",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 75
  },
  "hsl": {
    "h": 73.818,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89852,
    "c": 0.18924,
    "h": 121.6
  },
  "luminance": 0.75385
}

Semantic roles & 50–950 ramp

primary
#CAF04B
secondary
#4C2DB2
accent
#04E137
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAF04B

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

Preview Lab → · Contrast checker → · Palette generator →

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