#CAF777#CAF777

#CAF777 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.8% C 0.163 H 125.5°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#CAF777
RGBrgb(202, 247, 119)
HSLhsl(81, 89%, 72%)
HSVhsv(81, 52%, 97%)
CMYKcmyk(18.2%, 0%, 51.8%, 3.1%)
CIE-LABlab(91.87, -33.79, 56.19)
CIE-LCHlch(91.87, 65.56, 121.02°)
OKLaboklab(91.82% -0.095 0.133)
OKLCHoklch(91.82% 0.163 125.5)
XYZxyz(60.9476, 80.4094, 29.7588)
Luminance0.8041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF777 #A477F7
analogous
#F7E477 #CAF777 #8AF777
triadic
#CAF777 #77CAF7 #F777CA
tetradic
#CAF777 #77F7E4 #A477F7 #F7778A
square
#CAF777 #77F7E4 #A477F7 #F7778A
split-complementary
#CAF777 #778AF7 #E477F7
monochromatic
#9AE60E #B3F43D #CAF777 #E1FAB1 #F4FDE2

Accessibility & contrast

On white

1.23
#CAF777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#CAF777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF777
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF777#FFFFFF#000000##000000
##CAF7771.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#D1EDDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf777;
/* rgb */ color: rgb(202, 247, 119);
/* oklch */ color: oklch(91.8% 0.163 125.5);
Tailwind
colors: {
  custom: {
    50: '#dcfaa1',
    500: '#caf777',
    950: '#000000',
  },
}
SCSS
$custom: #caf777;
$custom-light: #dcfaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#caf777",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 119
  },
  "hsl": {
    "h": 81.094,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91823,
    "c": 0.16339,
    "h": 125.5
  },
  "luminance": 0.8041
}

Semantic roles & 50–950 ramp

primary
#CAF777
secondary
#7340D2
accent
#00E651
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF777

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

Preview Lab → · Contrast checker → · Palette generator →

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