#CAF97C#CAF97C

#CAF97C is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.161 H 126.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#CAF97C
RGBrgb(202, 249, 124)
HSLhsl(83, 91%, 73%)
HSVhsv(83, 50%, 98%)
CMYKcmyk(18.9%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.47, -34.21, 54.62)
CIE-LCHlch(92.47, 64.45, 122.06°)
OKLaboklab(92.33% -0.0958 0.1299)
OKLCHoklch(92.33% 0.161 126.4)
XYZxyz(61.8707, 81.7624, 31.5870)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF97C #AB7CF9
analogous
#F9E97C #CAF97C #8BF97C
triadic
#CAF97C #7CCAF9 #F97CCA
tetradic
#CAF97C #7CF9E9 #AB7CF9 #F97C8B
square
#CAF97C #7CF9E9 #AB7CF9 #F97C8B
split-complementary
#CAF97C #7C8BF9 #E97CF9
monochromatic
#9AF00B #B2F641 #CAF97C #E2FCB7 #F3FEE2

Accessibility & contrast

On white

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

On black

17.35
#CAF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF97C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF97C#FFFFFF#000000##000000
##CAF97C1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf97c;
/* rgb */ color: rgb(202, 249, 124);
/* oklch */ color: oklch(92.3% 0.161 126.4);
Tailwind
colors: {
  custom: {
    50: '#dcfba5',
    500: '#caf97c',
    950: '#000000',
  },
}
SCSS
$custom: #caf97c;
$custom-light: #dcfba5;
$custom-dark: #000000;
JSON
{
  "hex": "#caf97c",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 82.56,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92326,
    "c": 0.1614,
    "h": 126.4
  },
  "luminance": 0.81763
}

Semantic roles & 50–950 ramp

primary
#CAF97C
secondary
#7A44D6
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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