#CAF04D#CAF04D

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

Color values

HEX#CAF04D
RGBrgb(202, 240, 77)
HSLhsl(74, 84%, 62%)
HSVhsv(74, 68%, 94%)
CMYKcmyk(15.8%, 0%, 67.9%, 5.9%)
CIE-LABlab(89.59, -33.82, 71.11)
CIE-LCHlch(89.59, 78.74, 115.43°)
OKLaboklab(89.87% -0.0987 0.1599)
OKLCHoklch(89.87% 0.188 121.7)
XYZxyz(56.8575, 75.4125, 18.5804)
Luminance0.7541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF04D #734DF0
analogous
#F0C54D #CAF04D #78F04D
triadic
#CAF04D #4DCAF0 #F04DCA
tetradic
#CAF04D #4DF0C5 #734DF0 #F04D78
square
#CAF04D #4DF0C5 #734DF0 #F04D78
split-complementary
#CAF04D #4D78F0 #C54DF0
monochromatic
#8DB30F #B9EB15 #CAF04D #DBF585 #ECFABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF04D#FFFFFF#000000##000000
##CAF04D1.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)
#FEE234
Deuteranopia (green-blind)
#F9E15A
Tritanopia (blue-blind)
#D4E4D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf04d;
/* rgb */ color: rgb(202, 240, 77);
/* oklch */ color: oklch(89.9% 0.188 121.7);
Tailwind
colors: {
  custom: {
    50: '#def588',
    500: '#caf04d',
    950: '#000000',
  },
}
SCSS
$custom: #caf04d;
$custom-light: #def588;
$custom-dark: #000000;
JSON
{
  "hex": "#caf04d",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 77
  },
  "hsl": {
    "h": 73.988,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89866,
    "c": 0.18796,
    "h": 121.7
  },
  "luminance": 0.75413
}

Semantic roles & 50–950 ramp

primary
#CAF04D
secondary
#4D2EB3
accent
#05E138
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CAF04D

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

Preview Lab → · Contrast checker → · Palette generator →

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