#CAF372#CAF372

#CAF372 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.9% C 0.163 H 124.2°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#CAF372
RGBrgb(202, 243, 114)
HSLhsl(79, 84%, 70%)
HSVhsv(79, 53%, 95%)
CMYKcmyk(16.9%, 0%, 53.1%, 4.7%)
CIE-LABlab(90.72, -32.41, 57.10)
CIE-LCHlch(90.72, 65.66, 119.58°)
OKLaboklab(90.88% -0.0915 0.1345)
OKLCHoklch(90.88% 0.163 124.2)
XYZxyz(59.4451, 77.8722, 27.8154)
Luminance0.7787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF372 #9B72F3
analogous
#F3DC72 #CAF372 #89F372
triadic
#CAF372 #72CAF3 #F372CA
tetradic
#CAF372 #72F3DC #9B72F3 #F37289
square
#CAF372 #72F3DC #9B72F3 #F37289
split-complementary
#CAF372 #7289F3 #DC72F3
monochromatic
#99D812 #B5EE3A #CAF372 #DFF8AA #F4FDE3

Accessibility & contrast

On white

1.27
#CAF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#CAF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF372
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF372#FFFFFF#000000##000000
##CAF3721.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#D2E9D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #caf372;
/* rgb */ color: rgb(202, 243, 114);
/* oklch */ color: oklch(90.9% 0.163 124.2);
Tailwind
colors: {
  custom: {
    50: '#dcf79e',
    500: '#caf372',
    950: '#000000',
  },
}
SCSS
$custom: #caf372;
$custom-light: #dcf79e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf372",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 79.07,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.90882,
    "c": 0.1627,
    "h": 124.2
  },
  "luminance": 0.77873
}

Semantic roles & 50–950 ramp

primary
#CAF372
secondary
#6A3CCD
accent
#05E14B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF372

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

Preview Lab → · Contrast checker → · Palette generator →

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