#CAF877#CAF877

#CAF877 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.0% C 0.165 H 125.8°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#CAF877
RGBrgb(202, 248, 119)
HSLhsl(81, 90%, 72%)
HSVhsv(81, 52%, 97%)
CMYKcmyk(18.5%, 0%, 52%, 2.7%)
CIE-LABlab(92.14, -34.24, 56.51)
CIE-LCHlch(92.14, 66.08, 121.21°)
OKLaboklab(92.04% -0.0962 0.1337)
OKLCHoklch(92.04% 0.165 125.8)
XYZxyz(61.2542, 81.0226, 29.8610)
Luminance0.8102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF877 #A577F8
analogous
#F8E577 #CAF877 #8AF877
triadic
#CAF877 #77CAF8 #F877CA
tetradic
#CAF877 #77F8E5 #A577F8 #F8778A
square
#CAF877 #77F8E5 #A577F8 #F8778A
split-complementary
#CAF877 #778AF8 #E577F8
monochromatic
#9AE90C #B3F53D #CAF877 #E1FBB1 #F4FEE2

Accessibility & contrast

On white

1.22
#CAF877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#CAF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF877
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF877#FFFFFF#000000##000000
##CAF8771.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#D1EEDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf877;
/* rgb */ color: rgb(202, 248, 119);
/* oklch */ color: oklch(92.0% 0.165 125.8);
Tailwind
colors: {
  custom: {
    50: '#dcfaa1',
    500: '#caf877',
    950: '#000000',
  },
}
SCSS
$custom: #caf877;
$custom-light: #dcfaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#caf877",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 81.395,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92044,
    "c": 0.1647,
    "h": 125.8
  },
  "luminance": 0.81023
}

Semantic roles & 50–950 ramp

primary
#CAF877
secondary
#743FD4
accent
#00E652
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF877

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

Preview Lab → · Contrast checker → · Palette generator →

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