#CAF370#CAF370

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

Color values

HEX#CAF370
RGBrgb(202, 243, 112)
HSLhsl(79, 85%, 70%)
HSVhsv(79, 54%, 95%)
CMYKcmyk(16.9%, 0%, 53.9%, 4.7%)
CIE-LABlab(90.70, -32.60, 57.97)
CIE-LCHlch(90.70, 66.51, 119.35°)
OKLaboklab(90.86% -0.0922 0.1362)
OKLCHoklch(90.86% 0.165 124.1)
XYZxyz(59.3325, 77.8272, 27.2224)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF370 #9970F3
analogous
#F3DB70 #CAF370 #88F370
triadic
#CAF370 #70CAF3 #F370CA
tetradic
#CAF370 #70F3DB #9970F3 #F37088
square
#CAF370 #70F3DB #9970F3 #F37088
split-complementary
#CAF370 #7088F3 #DB70F3
monochromatic
#99D712 #B5EE38 #CAF370 #DFF8A8 #F4FCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF370#FFFFFF#000000##000000
##CAF3701.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)
#FFE663
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#D2E9D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #caf370;
/* rgb */ color: rgb(202, 243, 112);
/* oklch */ color: oklch(90.9% 0.165 124.1);
Tailwind
colors: {
  custom: {
    50: '#dcf79d',
    500: '#caf370',
    950: '#000000',
  },
}
SCSS
$custom: #caf370;
$custom-light: #dcf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#caf370",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 78.779,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90859,
    "c": 0.1645,
    "h": 124.1
  },
  "luminance": 0.77828
}

Semantic roles & 50–950 ramp

primary
#CAF370
secondary
#683BCD
accent
#05E14A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF370

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

Preview Lab → · Contrast checker → · Palette generator →

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