#AFC477#AFC477

#AFC477 is a light, moderate yellow-green. Relative luminance 0.499; OKLCH L 78.6% C 0.104 H 121.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#AFC477
RGBrgb(175, 196, 119)
HSLhsl(76, 39%, 62%)
HSVhsv(76, 39%, 77%)
CMYKcmyk(10.7%, 0%, 39.3%, 23.1%)
CIE-LABlab(76.02, -19.64, 36.29)
CIE-LCHlch(76.02, 41.26, 118.42°)
OKLaboklab(78.64% -0.054 0.0889)
OKLCHoklch(78.64% 0.104 121.3)
XYZxyz(40.7488, 49.9258, 24.9391)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC477 #8C77C4
analogous
#C4B377 #AFC477 #89C477
triadic
#AFC477 #77AFC4 #C477AF
tetradic
#AFC477 #77C4B3 #8C77C4 #C47789
square
#AFC477 #77C4B3 #8C77C4 #C47789
split-complementary
#AFC477 #7789C4 #B377C4
monochromatic
#72863A #96B14D #AFC477 #C8D7A2 #E1E9CC

Accessibility & contrast

On white

1.91
#AFC477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#AFC477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC477
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC477#FFFFFF#000000##000000
##AFC4771.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC71
Deuteranopia (green-blind)
#CABC7B
Tritanopia (blue-blind)
#B5BDB1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc477;
/* rgb */ color: rgb(175, 196, 119);
/* oklch */ color: oklch(78.6% 0.104 121.3);
Tailwind
colors: {
  custom: {
    50: '#c8d59f',
    500: '#afc477',
    950: '#000000',
  },
}
SCSS
$custom: #afc477;
$custom-light: #c8d59f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc477",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 76.364,
    "s": 39.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78642,
    "c": 0.10397,
    "h": 121.3
  },
  "luminance": 0.49926
}

Semantic roles & 50–950 ramp

primary
#AFC477
secondary
#C5BDDA
accent
#33B256
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC477

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

Preview Lab → · Contrast checker → · Palette generator →

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