#CAF051#CAF051

#CAF051 is a very light, vivid yellow-green. Relative luminance 0.755; OKLCH L 89.9% C 0.185 H 121.8°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#CAF051
RGBrgb(202, 240, 81)
HSLhsl(74, 84%, 63%)
HSVhsv(74, 66%, 94%)
CMYKcmyk(15.8%, 0%, 66.3%, 5.9%)
CIE-LABlab(89.61, -33.57, 69.65)
CIE-LCHlch(89.61, 77.32, 115.74°)
OKLaboklab(89.9% -0.0977 0.1575)
OKLCHoklch(89.9% 0.185 121.8)
XYZxyz(57.0031, 75.4707, 19.3473)
Luminance0.7547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF051 #7751F0
analogous
#F0C751 #CAF051 #7AF051
triadic
#CAF051 #51CAF0 #F051CA
tetradic
#CAF051 #51F0C7 #7751F0 #F0517A
square
#CAF051 #51F0C7 #7751F0 #F0517A
split-complementary
#CAF051 #517AF0 #C751F0
monochromatic
#8FB710 #B9EB19 #CAF051 #DBF589 #ECFAC2

Accessibility & contrast

On white

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

On black

16.09
#CAF051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF051
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF051#FFFFFF#000000##000000
##CAF0511.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE23A
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#D4E4D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf051;
/* rgb */ color: rgb(202, 240, 81);
/* oklch */ color: oklch(89.9% 0.185 121.8);
Tailwind
colors: {
  custom: {
    50: '#ddf58a',
    500: '#caf051',
    950: '#000000',
  },
}
SCSS
$custom: #caf051;
$custom-light: #ddf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#caf051",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 81
  },
  "hsl": {
    "h": 74.34,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89897,
    "c": 0.1853,
    "h": 121.8
  },
  "luminance": 0.75471
}

Semantic roles & 50–950 ramp

primary
#CAF051
secondary
#4F2FB6
accent
#05E139
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #CAF051

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

Preview Lab → · Contrast checker → · Palette generator →

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