#CAF974#CAF974

#CAF974 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.2% C 0.169 H 125.7°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#CAF974
RGBrgb(202, 249, 116)
HSLhsl(81, 92%, 72%)
HSVhsv(81, 53%, 98%)
CMYKcmyk(18.9%, 0%, 53.4%, 2.4%)
CIE-LABlab(92.38, -34.98, 58.15)
CIE-LCHlch(92.38, 67.86, 121.03°)
OKLaboklab(92.23% -0.0985 0.1369)
OKLCHoklch(92.23% 0.169 125.7)
XYZxyz(61.3852, 81.5682, 29.0298)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF974 #A374F9
analogous
#F9E674 #CAF974 #88F974
triadic
#CAF974 #74CAF9 #F974CA
tetradic
#CAF974 #74F9E6 #A374F9 #F97488
square
#CAF974 #74F9E6 #A374F9 #F97488
split-complementary
#CAF974 #7488F9 #E674F9
monochromatic
#9AE90A #B4F639 #CAF974 #E0FCAF #F4FEE2

Accessibility & contrast

On white

1.21
#CAF974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#CAF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF974
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF974#FFFFFF#000000##000000
##CAF9741.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FEE87C
Tritanopia (blue-blind)
#D1EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf974;
/* rgb */ color: rgb(202, 249, 116);
/* oklch */ color: oklch(92.2% 0.169 125.7);
Tailwind
colors: {
  custom: {
    50: '#dcfb9f',
    500: '#caf974',
    950: '#000000',
  },
}
SCSS
$custom: #caf974;
$custom-light: #dcfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#caf974",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 81.203,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92229,
    "c": 0.16871,
    "h": 125.7
  },
  "luminance": 0.81569
}

Semantic roles & 50–950 ramp

primary
#CAF974
secondary
#723DD5
accent
#00E651
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF974

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

Preview Lab → · Contrast checker → · Palette generator →

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