#CAF378#CAF378

#CAF378 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.0% C 0.157 H 124.7°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#CAF378
RGBrgb(202, 243, 120)
HSLhsl(80, 84%, 71%)
HSVhsv(80, 51%, 95%)
CMYKcmyk(16.9%, 0%, 50.6%, 4.7%)
CIE-LABlab(90.79, -31.85, 54.45)
CIE-LCHlch(90.79, 63.08, 120.33°)
OKLaboklab(90.96% -0.0895 0.1292)
OKLCHoklch(90.96% 0.157 124.7)
XYZxyz(59.7979, 78.0134, 29.6734)
Luminance0.7801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF378 #A178F3
analogous
#F3DE78 #CAF378 #8CF378
triadic
#CAF378 #78CAF3 #F378CA
tetradic
#CAF378 #78F3DE #A178F3 #F3788C
square
#CAF378 #78F3DE #A178F3 #F3788C
split-complementary
#CAF378 #788CF3 #DE78F3
monochromatic
#9ADD14 #B4EE40 #CAF378 #E0F8B0 #F4FDE3

Accessibility & contrast

On white

1.26
#CAF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#CAF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF378
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF378#FFFFFF#000000##000000
##CAF3781.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#D1E9D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf378;
/* rgb */ color: rgb(202, 243, 120);
/* oklch */ color: oklch(91.0% 0.157 124.7);
Tailwind
colors: {
  custom: {
    50: '#dcf7a2',
    500: '#caf378',
    950: '#000000',
  },
}
SCSS
$custom: #caf378;
$custom-light: #dcf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#caf378",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 80,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90955,
    "c": 0.15718,
    "h": 124.7
  },
  "luminance": 0.78014
}

Semantic roles & 50–950 ramp

primary
#CAF378
secondary
#7042CE
accent
#05E04E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF378

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

Preview Lab → · Contrast checker → · Palette generator →

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