#CAF478#CAF478

#CAF478 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.2% C 0.159 H 124.9°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#CAF478
RGBrgb(202, 244, 120)
HSLhsl(80, 85%, 71%)
HSVhsv(80, 51%, 96%)
CMYKcmyk(17.2%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.06, -32.31, 54.77)
CIE-LCHlch(91.06, 63.59, 120.54°)
OKLaboklab(91.18% -0.0908 0.13)
OKLCHoklch(91.18% 0.159 124.9)
XYZxyz(60.0980, 78.6135, 29.7734)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF478 #A278F4
analogous
#F4E078 #CAF478 #8CF478
triadic
#CAF478 #78CAF4 #F478CA
tetradic
#CAF478 #78F4E0 #A278F4 #F4788C
square
#CAF478 #78F4E0 #A278F4 #F4788C
split-complementary
#CAF478 #788CF4 #E078F4
monochromatic
#9ADF12 #B4EF3F #CAF478 #E0F9B1 #F4FDE3

Accessibility & contrast

On white

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

On black

16.72
#CAF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF478
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF478#FFFFFF#000000##000000
##CAF4781.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#D1EAD8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf478;
/* rgb */ color: rgb(202, 244, 120);
/* oklch */ color: oklch(91.2% 0.159 124.9);
Tailwind
colors: {
  custom: {
    50: '#dcf8a2',
    500: '#caf478',
    950: '#000000',
  },
}
SCSS
$custom: #caf478;
$custom-light: #dcf8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#caf478",
  "rgb": {
    "r": 202,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 80.323,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91175,
    "c": 0.15851,
    "h": 124.9
  },
  "luminance": 0.78614
}

Semantic roles & 50–950 ramp

primary
#CAF478
secondary
#7141CF
accent
#04E14F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF478

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

Preview Lab → · Contrast checker → · Palette generator →

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