#CAF97A#CAF97A

#CAF97A is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.163 H 126.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CAF97A
RGBrgb(202, 249, 122)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.9%, 0%, 51%, 2.4%)
CIE-LABlab(92.45, -34.41, 55.51)
CIE-LCHlch(92.45, 65.31, 121.79°)
OKLaboklab(92.3% -0.0965 0.1317)
OKLCHoklch(92.3% 0.163 126.2)
XYZxyz(61.7455, 81.7124, 30.9276)
Luminance0.8171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF97A #A97AF9
analogous
#F9E97A #CAF97A #8AF97A
triadic
#CAF97A #7ACAF9 #F97ACA
tetradic
#CAF97A #7AF9E9 #A97AF9 #F97A8A
square
#CAF97A #7AF9E9 #A97AF9 #F97A8A
split-complementary
#CAF97A #7A8AF9 #E97AF9
monochromatic
#9AEE0B #B3F63F #CAF97A #E1FCB5 #F3FEE2

Accessibility & contrast

On white

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

On black

17.34
#CAF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF97A
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF97A#FFFFFF#000000##000000
##CAF97A1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#D0EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf97a;
/* rgb */ color: rgb(202, 249, 122);
/* oklch */ color: oklch(92.3% 0.163 126.2);
Tailwind
colors: {
  custom: {
    50: '#dcfba3',
    500: '#caf97a',
    950: '#000000',
  },
}
SCSS
$custom: #caf97a;
$custom-light: #dcfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#caf97a",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 82.205,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92301,
    "c": 0.16326,
    "h": 126.2
  },
  "luminance": 0.81713
}

Semantic roles & 50–950 ramp

primary
#CAF97A
secondary
#7842D5
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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