#CAF374#CAF374

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

Color values

HEX#CAF374
RGBrgb(202, 243, 116)
HSLhsl(79, 84%, 70%)
HSVhsv(79, 52%, 95%)
CMYKcmyk(16.9%, 0%, 52.3%, 4.7%)
CIE-LABlab(90.74, -32.23, 56.22)
CIE-LCHlch(90.74, 64.80, 119.82°)
OKLaboklab(90.91% -0.0909 0.1328)
OKLCHoklch(90.91% 0.161 124.4)
XYZxyz(59.5602, 77.9183, 28.4215)
Luminance0.7792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF374 #9D74F3
analogous
#F3DC74 #CAF374 #8AF374
triadic
#CAF374 #74CAF3 #F374CA
tetradic
#CAF374 #74F3DC #9D74F3 #F3748A
square
#CAF374 #74F3DC #9D74F3 #F3748A
split-complementary
#CAF374 #748AF3 #DC74F3
monochromatic
#9ADA13 #B5EE3C #CAF374 #DFF8AC #F4FDE3

Accessibility & contrast

On white

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

On black

16.58
#CAF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF374
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF374#FFFFFF#000000##000000
##CAF3741.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf374;
/* rgb */ color: rgb(202, 243, 116);
/* oklch */ color: oklch(90.9% 0.161 124.4);
Tailwind
colors: {
  custom: {
    50: '#dcf79f',
    500: '#caf374',
    950: '#000000',
  },
}
SCSS
$custom: #caf374;
$custom-light: #dcf79f;
$custom-dark: #000000;
JSON
{
  "hex": "#caf374",
  "rgb": {
    "r": 202,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 79.37,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90906,
    "c": 0.16089,
    "h": 124.4
  },
  "luminance": 0.77919
}

Semantic roles & 50–950 ramp

primary
#CAF374
secondary
#6C3ECD
accent
#05E14C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF374

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

Preview Lab → · Contrast checker → · Palette generator →

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