#CAF03D#CAF03D

#CAF03D is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.8% C 0.197 H 121.2°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#CAF03D
RGBrgb(202, 240, 61)
HSLhsl(73, 86%, 59%)
HSVhsv(73, 75%, 94%)
CMYKcmyk(15.8%, 0%, 74.6%, 5.9%)
CIE-LABlab(89.49, -34.65, 76.43)
CIE-LCHlch(89.49, 83.91, 114.39°)
OKLaboklab(89.76% -0.1023 0.1687)
OKLCHoklch(89.76% 0.197 121.2)
XYZxyz(56.3605, 75.2137, 15.9625)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF03D #633DF0
analogous
#F0BC3D #CAF03D #71F03D
triadic
#CAF03D #3DCAF0 #F03DCA
tetradic
#CAF03D #3DF0BC #633DF0 #F03D71
square
#CAF03D #3DF0BC #633DF0 #F03D71
split-complementary
#CAF03D #3D71F0 #BC3DF0
monochromatic
#85A60D #B3DF11 #CAF03D #DAF476 #E9F9AF

Accessibility & contrast

On white

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

On black

16.04
#CAF03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF03D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF03D#FFFFFF#000000##000000
##CAF03D1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE20F
Deuteranopia (green-blind)
#FAE14E
Tritanopia (blue-blind)
#D5E3CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf03d;
/* rgb */ color: rgb(202, 240, 61);
/* oklch */ color: oklch(89.8% 0.197 121.2);
Tailwind
colors: {
  custom: {
    50: '#def580',
    500: '#caf03d',
    950: '#000000',
  },
}
SCSS
$custom: #caf03d;
$custom-light: #def580;
$custom-dark: #000000;
JSON
{
  "hex": "#caf03d",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 61
  },
  "hsl": {
    "h": 72.737,
    "s": 85.646,
    "l": 59.02
  },
  "oklch": {
    "l": 0.89762,
    "c": 0.19727,
    "h": 121.2
  },
  "luminance": 0.75214
}

Semantic roles & 50–950 ramp

primary
#CAF03D
secondary
#452AA7
accent
#2CFC58
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #CAF03D

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

Preview Lab → · Contrast checker → · Palette generator →

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