#AFC671#AFC671

#AFC671 is a light, moderate yellow-green. Relative luminance 0.507; OKLCH L 79.0% C 0.113 H 121.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#AFC671
RGBrgb(175, 198, 113)
HSLhsl(76, 43%, 61%)
HSVhsv(76, 43%, 78%)
CMYKcmyk(11.6%, 0%, 42.9%, 22.4%)
CIE-LABlab(76.49, -21.34, 39.93)
CIE-LCHlch(76.49, 45.27, 118.12°)
OKLaboklab(78.99% -0.0592 0.0968)
OKLCHoklch(78.99% 0.113 121.4)
XYZxyz(40.8540, 50.6944, 23.2523)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC671 #8871C6
analogous
#C6B271 #AFC671 #84C671
triadic
#AFC671 #71AFC6 #C671AF
tetradic
#AFC671 #71C6B2 #8871C6 #C67184
square
#AFC671 #71C6B2 #8871C6 #C67184
split-complementary
#AFC671 #7184C6 #B271C6
monochromatic
#718736 #95B248 #AFC671 #C8D89D #E0E9C8

Accessibility & contrast

On white

1.89
#AFC671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#AFC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC671
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC671#FFFFFF#000000##000000
##AFC6711.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6A
Deuteranopia (green-blind)
#CCBD75
Tritanopia (blue-blind)
#B6BEB2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc671;
/* rgb */ color: rgb(175, 198, 113);
/* oklch */ color: oklch(79.0% 0.113 121.4);
Tailwind
colors: {
  custom: {
    50: '#c8d79b',
    500: '#afc671',
    950: '#000000',
  },
}
SCSS
$custom: #afc671;
$custom-light: #c8d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc671",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 76.235,
    "s": 42.714,
    "l": 60.98
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.11347,
    "h": 121.4
  },
  "luminance": 0.50694
}

Semantic roles & 50–950 ramp

primary
#AFC671
secondary
#5F4D8E
accent
#30B654
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC671

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

Preview Lab → · Contrast checker → · Palette generator →

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