#CAF98E#CAF98E

#CAF98E is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.144 H 128.3°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#CAF98E
RGBrgb(202, 249, 142)
HSLhsl(86, 90%, 77%)
HSVhsv(86, 43%, 98%)
CMYKcmyk(18.9%, 0%, 43%, 2.4%)
CIE-LABlab(92.69, -32.27, 46.41)
CIE-LCHlch(92.69, 56.53, 124.81°)
OKLaboklab(92.57% -0.0891 0.1128)
OKLCHoklch(92.57% 0.144 128.3)
XYZxyz(63.1147, 82.2600, 38.1385)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF98E #BD8EF9
analogous
#F9F28E #CAF98E #95F98E
triadic
#CAF98E #8ECAF9 #F98ECA
tetradic
#CAF98E #8EF9F2 #BD8EF9 #F98E95
square
#CAF98E #8EF9F2 #BD8EF9 #F98E95
split-complementary
#CAF98E #8E95F9 #F28EF9
monochromatic
#93F31A #AFF654 #CAF98E #E5FCC8 #F1FDE2

Accessibility & contrast

On white

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

On black

17.45
#CAF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF98E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF98E#FFFFFF#000000##000000
##CAF98E1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FCE994
Tritanopia (blue-blind)
#CEF0DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf98e;
/* rgb */ color: rgb(202, 249, 142);
/* oklch */ color: oklch(92.6% 0.144 128.3);
Tailwind
colors: {
  custom: {
    50: '#dcfbb0',
    500: '#caf98e',
    950: '#000000',
  },
}
SCSS
$custom: #caf98e;
$custom-light: #dcfbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#caf98e",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 86.355,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92574,
    "c": 0.14373,
    "h": 128.3
  },
  "luminance": 0.82261
}

Semantic roles & 50–950 ramp

primary
#CAF98E
secondary
#8E53D8
accent
#00E665
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CAF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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