#CAFA7A#CAFA7A

#CAFA7A is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.5% C 0.165 H 126.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#CAFA7A
RGBrgb(202, 250, 122)
HSLhsl(83, 93%, 73%)
HSVhsv(83, 51%, 98%)
CMYKcmyk(19.2%, 0%, 51.2%, 2%)
CIE-LABlab(92.72, -34.87, 55.83)
CIE-LCHlch(92.72, 65.83, 121.98°)
OKLaboklab(92.52% -0.0977 0.1324)
OKLCHoklch(92.52% 0.165 126.4)
XYZxyz(62.0554, 82.3322, 31.0309)
Luminance0.8233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA7A #AA7AFA
analogous
#FAEA7A #CAFA7A #8AFA7A
triadic
#CAFA7A #7ACAFA #FA7ACA
tetradic
#CAFA7A #7AFAEA #AA7AFA #FA7A8A
square
#CAFA7A #7AFAEA #AA7AFA #FA7A8A
split-complementary
#CAFA7A #7A8AFA #EA7AFA
monochromatic
#9AF109 #B2F83F #CAFA7A #E2FCB5 #F3FEE2

Accessibility & contrast

On white

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

On black

17.47
#CAFA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA7A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA7A#FFFFFF#000000##000000
##CAFA7A1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafa7a;
/* rgb */ color: rgb(202, 250, 122);
/* oklch */ color: oklch(92.5% 0.165 126.4);
Tailwind
colors: {
  custom: {
    50: '#dcfca3',
    500: '#cafa7a',
    950: '#000000',
  },
}
SCSS
$custom: #cafa7a;
$custom-light: #dcfca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa7a",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 82.5,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92521,
    "c": 0.16459,
    "h": 126.4
  },
  "luminance": 0.82333
}

Semantic roles & 50–950 ramp

primary
#CAFA7A
secondary
#7941D7
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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