#CAFA74#CAFA74

#CAFA74 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.4% C 0.170 H 125.9°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#CAFA74
RGBrgb(202, 250, 116)
HSLhsl(81, 93%, 72%)
HSVhsv(81, 54%, 98%)
CMYKcmyk(19.2%, 0%, 53.6%, 2%)
CIE-LABlab(92.66, -35.43, 58.46)
CIE-LCHlch(92.66, 68.36, 121.22°)
OKLaboklab(92.45% -0.0998 0.1377)
OKLCHoklch(92.45% 0.17 125.9)
XYZxyz(61.6951, 82.1880, 29.1331)
Luminance0.8219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA74 #A474FA
analogous
#FAE774 #CAFA74 #87FA74
triadic
#CAFA74 #74CAFA #FA74CA
tetradic
#CAFA74 #74FAE7 #A474FA #FA7487
square
#CAFA74 #74FAE7 #A474FA #FA7487
split-complementary
#CAFA74 #7487FA #E774FA
monochromatic
#9AEB08 #B3F839 #CAFA74 #E1FCAF #F4FEE1

Accessibility & contrast

On white

1.20
#CAFA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#CAFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA74
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA74#FFFFFF#000000##000000
##CAFA741.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFE97C
Tritanopia (blue-blind)
#D1F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa74;
/* rgb */ color: rgb(202, 250, 116);
/* oklch */ color: oklch(92.4% 0.170 125.9);
Tailwind
colors: {
  custom: {
    50: '#ddfc9f',
    500: '#cafa74',
    950: '#000000',
  },
}
SCSS
$custom: #cafa74;
$custom-light: #ddfc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa74",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 81.493,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92449,
    "c": 0.17002,
    "h": 125.9
  },
  "luminance": 0.82189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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