#CAF072#CAF072

#CAF072 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.2% C 0.159 H 123.5°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#CAF072
RGBrgb(202, 240, 114)
HSLhsl(78, 81%, 69%)
HSVhsv(78, 53%, 94%)
CMYKcmyk(15.8%, 0%, 52.5%, 5.9%)
CIE-LABlab(89.90, -31.03, 56.14)
CIE-LCHlch(89.90, 64.14, 118.93°)
OKLaboklab(90.22% -0.0877 0.1324)
OKLCHoklch(90.22% 0.159 123.5)
XYZxyz(58.5547, 76.0914, 27.5186)
Luminance0.7609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF072 #9872F0
analogous
#F0D772 #CAF072 #8BF072
triadic
#CAF072 #72CAF0 #F072CA
tetradic
#CAF072 #72F0D7 #9872F0 #F0728B
square
#CAF072 #72F0D7 #9872F0 #F0728B
split-complementary
#CAF072 #728BF0 #D772F0
monochromatic
#99D116 #B5EA3B #CAF072 #DFF6A9 #F4FCE1

Accessibility & contrast

On white

1.29
#CAF072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#CAF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF072
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF072#FFFFFF#000000##000000
##CAF0721.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#D2E6D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf072;
/* rgb */ color: rgb(202, 240, 114);
/* oklch */ color: oklch(90.2% 0.159 123.5);
Tailwind
colors: {
  custom: {
    50: '#dcf59e',
    500: '#caf072',
    950: '#000000',
  },
}
SCSS
$custom: #caf072;
$custom-light: #dcf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf072",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 78.095,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90222,
    "c": 0.15881,
    "h": 123.5
  },
  "luminance": 0.76092
}

Semantic roles & 50–950 ramp

primary
#CAF072
secondary
#673DC9
accent
#08DD49
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF072

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

Preview Lab → · Contrast checker → · Palette generator →

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