#CAF975#CAF975

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

Color values

HEX#CAF975
RGBrgb(202, 249, 117)
HSLhsl(81, 92%, 72%)
HSVhsv(81, 53%, 98%)
CMYKcmyk(18.9%, 0%, 53%, 2.4%)
CIE-LABlab(92.39, -34.89, 57.71)
CIE-LCHlch(92.39, 67.43, 121.15°)
OKLaboklab(92.24% -0.0982 0.1361)
OKLCHoklch(92.24% 0.168 125.8)
XYZxyz(61.4436, 81.5916, 29.3378)
Luminance0.8159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF975 #A475F9
analogous
#F9E675 #CAF975 #88F975
triadic
#CAF975 #75CAF9 #F975CA
tetradic
#CAF975 #75F9E6 #A475F9 #F97588
square
#CAF975 #75F9E6 #A475F9 #F97588
split-complementary
#CAF975 #7588F9 #E675F9
monochromatic
#9AE90A #B3F63A #CAF975 #E1FCB0 #F4FEE2

Accessibility & contrast

On white

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

On black

17.32
#CAF975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF975
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF975#FFFFFF#000000##000000
##CAF9751.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf975;
/* rgb */ color: rgb(202, 249, 117);
/* oklch */ color: oklch(92.2% 0.168 125.8);
Tailwind
colors: {
  custom: {
    50: '#dcfba0',
    500: '#caf975',
    950: '#000000',
  },
}
SCSS
$custom: #caf975;
$custom-light: #dcfba0;
$custom-dark: #000000;
JSON
{
  "hex": "#caf975",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 117
  },
  "hsl": {
    "h": 81.364,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9224,
    "c": 0.16782,
    "h": 125.8
  },
  "luminance": 0.81592
}

Semantic roles & 50–950 ramp

primary
#CAF975
secondary
#733DD5
accent
#00E652
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF975

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

Preview Lab → · Contrast checker → · Palette generator →

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