#AFC56A#AFC56A

#AFC56A is a light, moderate yellow-green. Relative luminance 0.501; OKLCH L 78.7% C 0.120 H 120.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#AFC56A
RGBrgb(175, 197, 106)
HSLhsl(75, 44%, 59%)
HSVhsv(75, 46%, 77%)
CMYKcmyk(11.2%, 0%, 46.2%, 22.7%)
CIE-LABlab(76.12, -21.62, 42.95)
CIE-LCHlch(76.12, 48.08, 116.72°)
OKLaboklab(78.66% -0.0605 0.1032)
OKLCHoklch(78.66% 0.12 120.4)
XYZxyz(40.2471, 50.0872, 21.1804)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56A #806AC5
analogous
#C5AD6A #AFC56A #82C56A
triadic
#AFC56A #6AAFC5 #C56AAF
tetradic
#AFC56A #6AC5AD #806AC5 #C56A82
square
#AFC56A #6AC5AD #806AC5 #C56A82
split-complementary
#AFC56A #6A82C5 #AD6AC5
monochromatic
#6F8233 #94AE44 #AFC56A #C7D696 #DEE7C2

Accessibility & contrast

On white

1.91
#AFC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#AFC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC56A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC56A#FFFFFF#000000##000000
##AFC56A1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC62
Deuteranopia (green-blind)
#CCBC6F
Tritanopia (blue-blind)
#B6BDB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc56a;
/* rgb */ color: rgb(175, 197, 106);
/* oklch */ color: oklch(78.7% 0.120 120.4);
Tailwind
colors: {
  custom: {
    50: '#c8d696',
    500: '#afc56a',
    950: '#000000',
  },
}
SCSS
$custom: #afc56a;
$custom-light: #c8d696;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56a",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 74.505,
    "s": 43.961,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78663,
    "c": 0.11959,
    "h": 120.4
  },
  "luminance": 0.50087
}

Semantic roles & 50–950 ramp

primary
#AFC56A
secondary
#59498A
accent
#54D473
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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