#AFC16A#AFC16A

#AFC16A is a light, moderate yellow-green. Relative luminance 0.483; OKLCH L 77.8% C 0.114 H 118.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#AFC16A
RGBrgb(175, 193, 106)
HSLhsl(72, 41%, 59%)
HSVhsv(72, 45%, 76%)
CMYKcmyk(9.3%, 0%, 45.1%, 24.3%)
CIE-LABlab(75.01, -19.63, 41.58)
CIE-LCHlch(75.01, 45.98, 115.27°)
OKLaboklab(77.77% -0.0549 0.1001)
OKLCHoklch(77.77% 0.114 118.7)
XYZxyz(39.3509, 48.2947, 20.8816)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC16A #7C6AC1
analogous
#C1A76A #AFC16A #83C16A
triadic
#AFC16A #6AAFC1 #C16AAF
tetradic
#AFC16A #6AC1A7 #7C6AC1 #C16A83
square
#AFC16A #6AC1A7 #7C6AC1 #C16A83
split-complementary
#AFC16A #6A83C1 #A76AC1
monochromatic
#6E7D34 #94A846 #AFC16A #C6D395 #DDE5C0

Accessibility & contrast

On white

1.97
#AFC16A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#AFC16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC16A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC16A#FFFFFF#000000##000000
##AFC16A1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB963
Deuteranopia (green-blind)
#C9B96F
Tritanopia (blue-blind)
#B7B9AC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc16a;
/* rgb */ color: rgb(175, 193, 106);
/* oklch */ color: oklch(77.8% 0.114 118.7);
Tailwind
colors: {
  custom: {
    50: '#c8d396',
    500: '#afc16a',
    950: '#000000',
  },
}
SCSS
$custom: #afc16a;
$custom-light: #c8d396;
$custom-dark: #000000;
JSON
{
  "hex": "#afc16a",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 106
  },
  "hsl": {
    "h": 72.414,
    "s": 41.232,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77772,
    "c": 0.11417,
    "h": 118.7
  },
  "luminance": 0.48294
}

Semantic roles & 50–950 ramp

primary
#AFC16A
secondary
#B9B2D5
accent
#57D170
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFC16A

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

Preview Lab → · Contrast checker → · Palette generator →

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