#AFC676#AFC676

#AFC676 is a light, moderate yellow-green. Relative luminance 0.508; OKLCH L 79.1% C 0.108 H 122.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#AFC676
RGBrgb(175, 198, 118)
HSLhsl(77, 41%, 62%)
HSVhsv(77, 40%, 78%)
CMYKcmyk(11.6%, 0%, 40.4%, 22.4%)
CIE-LABlab(76.56, -20.75, 37.49)
CIE-LCHlch(76.56, 42.85, 118.96°)
OKLaboklab(79.07% -0.0572 0.0916)
OKLCHoklch(79.07% 0.108 122)
XYZxyz(41.1432, 50.8101, 24.7758)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC676 #8D76C6
analogous
#C6B576 #AFC676 #87C676
triadic
#AFC676 #76AFC6 #C676AF
tetradic
#AFC676 #76C6B5 #8D76C6 #C67687
square
#AFC676 #76C6B5 #8D76C6 #C67687
split-complementary
#AFC676 #7687C6 #B576C6
monochromatic
#728939 #96B44B #AFC676 #C8D8A1 #E1EACC

Accessibility & contrast

On white

1.88
#AFC676 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#AFC676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC676
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC676#FFFFFF#000000##000000
##AFC6761.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD70
Deuteranopia (green-blind)
#CCBD7A
Tritanopia (blue-blind)
#B5BFB2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc676;
/* rgb */ color: rgb(175, 198, 118);
/* oklch */ color: oklch(79.1% 0.108 122.0);
Tailwind
colors: {
  custom: {
    50: '#c8d79e',
    500: '#afc676',
    950: '#000000',
  },
}
SCSS
$custom: #afc676;
$custom-light: #c8d79e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc676",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 118
  },
  "hsl": {
    "h": 77.25,
    "s": 41.237,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79069,
    "c": 0.10794,
    "h": 122
  },
  "luminance": 0.5081
}

Semantic roles & 50–950 ramp

primary
#AFC676
secondary
#625090
accent
#31B457
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC676

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

Preview Lab → · Contrast checker → · Palette generator →

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