#CAF474#CAF474

#CAF474 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.1% C 0.162 H 124.6°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#CAF474
RGBrgb(202, 244, 116)
HSLhsl(80, 85%, 71%)
HSVhsv(80, 52%, 96%)
CMYKcmyk(17.2%, 0%, 52.5%, 4.3%)
CIE-LABlab(91.02, -32.69, 56.54)
CIE-LCHlch(91.02, 65.31, 120.03°)
OKLaboklab(91.13% -0.0921 0.1335)
OKLCHoklch(91.13% 0.162 124.6)
XYZxyz(59.8603, 78.5184, 28.5215)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF474 #9E74F4
analogous
#F4DE74 #CAF474 #8AF474
triadic
#CAF474 #74CAF4 #F474CA
tetradic
#CAF474 #74F4DE #9E74F4 #F4748A
square
#CAF474 #74F4DE #9E74F4 #F4748A
split-complementary
#CAF474 #748AF4 #DE74F4
monochromatic
#9ADC11 #B4F03B #CAF474 #E0F8AD #F4FDE3

Accessibility & contrast

On white

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

On black

16.70
#CAF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF474
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF474#FFFFFF#000000##000000
##CAF4741.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#D1EAD7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf474;
/* rgb */ color: rgb(202, 244, 116);
/* oklch */ color: oklch(91.1% 0.162 124.6);
Tailwind
colors: {
  custom: {
    50: '#dcf89f',
    500: '#caf474',
    950: '#000000',
  },
}
SCSS
$custom: #caf474;
$custom-light: #dcf89f;
$custom-dark: #000000;
JSON
{
  "hex": "#caf474",
  "rgb": {
    "r": 202,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 79.688,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91126,
    "c": 0.1622,
    "h": 124.6
  },
  "luminance": 0.78519
}

Semantic roles & 50–950 ramp

primary
#CAF474
secondary
#6D3ECE
accent
#04E24D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF474

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

Preview Lab → · Contrast checker → · Palette generator →

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