#CAF98B#CAF98B

#CAF98B is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.147 H 127.9°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#CAF98B
RGBrgb(202, 249, 139)
HSLhsl(86, 90%, 76%)
HSVhsv(86, 44%, 98%)
CMYKcmyk(18.9%, 0%, 44.2%, 2.4%)
CIE-LABlab(92.65, -32.62, 47.80)
CIE-LCHlch(92.65, 57.87, 124.31°)
OKLaboklab(92.53% -0.0902 0.1158)
OKLCHoklch(92.53% 0.147 127.9)
XYZxyz(62.8925, 82.1711, 36.9683)
Luminance0.8217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF98B #BA8BF9
analogous
#F9F18B #CAF98B #93F98B
triadic
#CAF98B #8BCAF9 #F98BCA
tetradic
#CAF98B #8BF9F1 #BA8BF9 #F98B93
square
#CAF98B #8BF9F1 #BA8BF9 #F98B93
split-complementary
#CAF98B #8B93F9 #F18BF9
monochromatic
#95F317 #AFF651 #CAF98B #E5FCC5 #F2FDE2

Accessibility & contrast

On white

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

On black

17.43
#CAF98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF98B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF98B#FFFFFF#000000##000000
##CAF98B1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC82
Deuteranopia (green-blind)
#FCE991
Tritanopia (blue-blind)
#CFF0DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #caf98b;
/* rgb */ color: rgb(202, 249, 139);
/* oklch */ color: oklch(92.5% 0.147 127.9);
Tailwind
colors: {
  custom: {
    50: '#dcfbae',
    500: '#caf98b',
    950: '#000000',
  },
}
SCSS
$custom: #caf98b;
$custom-light: #dcfbae;
$custom-dark: #000000;
JSON
{
  "hex": "#caf98b",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 139
  },
  "hsl": {
    "h": 85.636,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9253,
    "c": 0.14678,
    "h": 127.9
  },
  "luminance": 0.82172
}

Semantic roles & 50–950 ramp

primary
#CAF98B
secondary
#8A51D8
accent
#00E662
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF98B

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

Preview Lab → · Contrast checker → · Palette generator →

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