#AFC876#AFC876

#AFC876 is a light, moderate yellow-green. Relative luminance 0.517; OKLCH L 79.5% C 0.111 H 122.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#AFC876
RGBrgb(175, 200, 118)
HSLhsl(78, 43%, 62%)
HSVhsv(78, 41%, 78%)
CMYKcmyk(12.5%, 0%, 41%, 21.6%)
CIE-LABlab(77.12, -21.74, 38.20)
CIE-LCHlch(77.12, 43.95, 119.65°)
OKLaboklab(79.51% -0.06 0.0932)
OKLCHoklch(79.51% 0.111 122.8)
XYZxyz(41.6034, 51.7304, 24.9292)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC876 #8F76C8
analogous
#C8B876 #AFC876 #86C876
triadic
#AFC876 #76AFC8 #C876AF
tetradic
#AFC876 #76C8B8 #8F76C8 #C87686
square
#AFC876 #76C8B8 #8F76C8 #C87686
split-complementary
#AFC876 #7686C8 #B876C8
monochromatic
#728C38 #95B64A #AFC876 #C8DAA2 #E2EBCD

Accessibility & contrast

On white

1.85
#AFC876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#AFC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC876
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC876#FFFFFF#000000##000000
##AFC8761.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF70
Deuteranopia (green-blind)
#CDBE7A
Tritanopia (blue-blind)
#B5C1B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc876;
/* rgb */ color: rgb(175, 200, 118);
/* oklch */ color: oklch(79.5% 0.111 122.8);
Tailwind
colors: {
  custom: {
    50: '#c8d89f',
    500: '#afc876',
    950: '#000000',
  },
}
SCSS
$custom: #afc876;
$custom-light: #c8d89f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc876",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 78.293,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79514,
    "c": 0.11079,
    "h": 122.8
  },
  "luminance": 0.51731
}

Semantic roles & 50–950 ramp

primary
#AFC876
secondary
#644F93
accent
#30B659
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC876

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

Preview Lab → · Contrast checker → · Palette generator →

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