#CAFA7D#CAFA7D

#CAFA7D is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.162 H 126.7°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CAFA7D
RGBrgb(202, 250, 125)
HSLhsl(83, 93%, 74%)
HSVhsv(83, 50%, 98%)
CMYKcmyk(19.2%, 0%, 50%, 2%)
CIE-LABlab(92.75, -34.57, 54.50)
CIE-LCHlch(92.75, 64.54, 122.39°)
OKLaboklab(92.56% -0.0967 0.1297)
OKLCHoklch(92.56% 0.162 126.7)
XYZxyz(62.2442, 82.4077, 32.0251)
Luminance0.8241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA7D #AD7DFA
analogous
#FAEB7D #CAFA7D #8BFA7D
triadic
#CAFA7D #7DCAFA #FA7DCA
tetradic
#CAFA7D #7DFAEB #AD7DFA #FA7D8B
square
#CAFA7D #7DFAEB #AD7DFA #FA7D8B
split-complementary
#CAFA7D #7D8BFA #EB7DFA
monochromatic
#99F309 #B2F842 #CAFA7D #E2FCB8 #F3FEE2

Accessibility & contrast

On white

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

On black

17.48
#CAFA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA7D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA7D#FFFFFF#000000##000000
##CAFA7D1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#D0F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa7d;
/* rgb */ color: rgb(202, 250, 125);
/* oklch */ color: oklch(92.6% 0.162 126.7);
Tailwind
colors: {
  custom: {
    50: '#dcfca5',
    500: '#cafa7d',
    950: '#000000',
  },
}
SCSS
$custom: #cafa7d;
$custom-light: #dcfca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa7d",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 83.04,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92559,
    "c": 0.1618,
    "h": 126.7
  },
  "luminance": 0.82408
}

Semantic roles & 50–950 ramp

primary
#CAFA7D
secondary
#7D44D7
accent
#00E658
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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