#AFC66A#AFC66A

#AFC66A is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.9% C 0.121 H 120.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#AFC66A
RGBrgb(175, 198, 106)
HSLhsl(75, 45%, 60%)
HSVhsv(75, 46%, 78%)
CMYKcmyk(11.6%, 0%, 46.5%, 22.4%)
CIE-LABlab(76.40, -22.11, 43.29)
CIE-LCHlch(76.40, 48.61, 117.05°)
OKLaboklab(78.89% -0.0619 0.1039)
OKLCHoklch(78.89% 0.121 120.8)
XYZxyz(40.4750, 50.5428, 21.2563)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC66A #816AC6
analogous
#C6AF6A #AFC66A #81C66A
triadic
#AFC66A #6AAFC6 #C66AAF
tetradic
#AFC66A #6AC6AF #816AC6 #C66A81
square
#AFC66A #6AC6AF #816AC6 #C66A81
split-complementary
#AFC66A #6A81C6 #AF6AC6
monochromatic
#6F8332 #95B043 #AFC66A #C7D796 #DFE8C3

Accessibility & contrast

On white

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

On black

11.11
#AFC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC66A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC66A#FFFFFF#000000##000000
##AFC66A1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD62
Deuteranopia (green-blind)
#CDBD6F
Tritanopia (blue-blind)
#B6BEB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc66a;
/* rgb */ color: rgb(175, 198, 106);
/* oklch */ color: oklch(78.9% 0.121 120.8);
Tailwind
colors: {
  custom: {
    50: '#c8d796',
    500: '#afc66a',
    950: '#000000',
  },
}
SCSS
$custom: #afc66a;
$custom-light: #c8d796;
$custom-dark: #000000;
JSON
{
  "hex": "#afc66a",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 75,
    "s": 44.66,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78886,
    "c": 0.12095,
    "h": 120.8
  },
  "luminance": 0.50543
}

Semantic roles & 50–950 ramp

primary
#AFC66A
secondary
#5A498B
accent
#53D474
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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