#CAF97E#CAF97E

#CAF97E is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.4% C 0.160 H 126.6°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CAF97E
RGBrgb(202, 249, 126)
HSLhsl(83, 91%, 74%)
HSVhsv(83, 49%, 98%)
CMYKcmyk(18.9%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.49, -34.01, 53.73)
CIE-LCHlch(92.49, 63.59, 122.34°)
OKLaboklab(92.35% -0.095 0.1281)
OKLCHoklch(92.35% 0.16 126.6)
XYZxyz(61.9985, 81.8135, 32.2599)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF97E #AD7EF9
analogous
#F9EA7E #CAF97E #8CF97E
triadic
#CAF97E #7ECAF9 #F97ECA
tetradic
#CAF97E #7EF9EA #AD7EF9 #F97E8C
square
#CAF97E #7EF9EA #AD7EF9 #F97E8C
split-complementary
#CAF97E #7E8CF9 #EA7EF9
monochromatic
#99F10B #B2F644 #CAF97E #E2FCB8 #F3FEE2

Accessibility & contrast

On white

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

On black

17.36
#CAF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF97E
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF97E#FFFFFF#000000##000000
##CAF97E1.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FDE985
Tritanopia (blue-blind)
#D0EFDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf97e;
/* rgb */ color: rgb(202, 249, 126);
/* oklch */ color: oklch(92.4% 0.160 126.6);
Tailwind
colors: {
  custom: {
    50: '#dcfba6',
    500: '#caf97e',
    950: '#000000',
  },
}
SCSS
$custom: #caf97e;
$custom-light: #dcfba6;
$custom-dark: #000000;
JSON
{
  "hex": "#caf97e",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 82.927,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92351,
    "c": 0.15951,
    "h": 126.6
  },
  "luminance": 0.81814
}

Semantic roles & 50–950 ramp

primary
#CAF97E
secondary
#7D45D6
accent
#00E658
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CAF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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