#AFC17A#AFC17A

#AFC17A is a light, moderate yellow-green. Relative luminance 0.487; OKLCH L 78.0% C 0.096 H 120.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#AFC17A
RGBrgb(175, 193, 122)
HSLhsl(75, 36%, 62%)
HSVhsv(75, 37%, 76%)
CMYKcmyk(9.3%, 0%, 36.8%, 24.3%)
CIE-LABlab(75.24, -17.76, 33.74)
CIE-LCHlch(75.24, 38.13, 117.76°)
OKLaboklab(78.03% -0.0485 0.0831)
OKLCHoklch(78.03% 0.096 120.3)
XYZxyz(40.2619, 48.6591, 25.6797)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC17A #8C7AC1
analogous
#C1B07A #AFC17A #8CC17A
triadic
#AFC17A #7AAFC1 #C17AAF
tetradic
#AFC17A #7AC1B0 #8C7AC1 #C17A8C
square
#AFC17A #7AC1B0 #8C7AC1 #C17A8C
split-complementary
#AFC17A #7A8CC1 #B07AC1
monochromatic
#72833D #96AD51 #AFC17A #C8D4A4 #E1E8CD

Accessibility & contrast

On white

1.96
#AFC17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#AFC17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC17A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC17A#FFFFFF#000000##000000
##AFC17A1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B975
Deuteranopia (green-blind)
#C7B97D
Tritanopia (blue-blind)
#B5BAAF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc17a;
/* rgb */ color: rgb(175, 193, 122);
/* oklch */ color: oklch(78.0% 0.096 120.3);
Tailwind
colors: {
  custom: {
    50: '#c8d3a1',
    500: '#afc17a',
    950: '#000000',
  },
}
SCSS
$custom: #afc17a;
$custom-light: #c8d3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afc17a",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 75.211,
    "s": 36.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78029,
    "c": 0.09623,
    "h": 120.3
  },
  "luminance": 0.48659
}

Semantic roles & 50–950 ramp

primary
#AFC17A
secondary
#C5BED9
accent
#36AF55
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #AFC17A

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

Preview Lab → · Contrast checker → · Palette generator →

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