#AFC476#AFC476

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

Color values

HEX#AFC476
RGBrgb(175, 196, 118)
HSLhsl(76, 40%, 62%)
HSVhsv(76, 40%, 77%)
CMYKcmyk(10.7%, 0%, 39.8%, 23.1%)
CIE-LABlab(76.01, -19.76, 36.78)
CIE-LCHlch(76.01, 41.75, 118.24°)
OKLaboklab(78.63% -0.0544 0.0899)
OKLCHoklch(78.63% 0.105 121.2)
XYZxyz(40.6891, 49.9019, 24.6245)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC476 #8B76C4
analogous
#C4B276 #AFC476 #88C476
triadic
#AFC476 #76AFC4 #C476AF
tetradic
#AFC476 #76C4B2 #8B76C4 #C47688
square
#AFC476 #76C4B2 #8B76C4 #C47688
split-complementary
#AFC476 #7688C4 #B276C4
monochromatic
#71863A #96B14C #AFC476 #C8D6A1 #E1E9CC

Accessibility & contrast

On white

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

On black

10.98
#AFC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC476
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC476#FFFFFF#000000##000000
##AFC4761.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc476;
/* rgb */ color: rgb(175, 196, 118);
/* oklch */ color: oklch(78.6% 0.105 121.2);
Tailwind
colors: {
  custom: {
    50: '#c8d59e',
    500: '#afc476',
    950: '#000000',
  },
}
SCSS
$custom: #afc476;
$custom-light: #c8d59e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc476",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 76.154,
    "s": 39.796,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78625,
    "c": 0.1051,
    "h": 121.2
  },
  "luminance": 0.49902
}

Semantic roles & 50–950 ramp

primary
#AFC476
secondary
#C4BCD9
accent
#33B355
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC476

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

Preview Lab → · Contrast checker → · Palette generator →

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