#AFC56E#AFC56E

#AFC56E is a light, moderate yellow-green. Relative luminance 0.502; OKLCH L 78.7% C 0.115 H 120.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#AFC56E
RGBrgb(175, 197, 110)
HSLhsl(75, 43%, 60%)
HSVhsv(75, 44%, 77%)
CMYKcmyk(11.2%, 0%, 44.2%, 22.7%)
CIE-LABlab(76.17, -21.18, 41.03)
CIE-LCHlch(76.17, 46.17, 117.30°)
OKLaboklab(78.72% -0.0589 0.0991)
OKLCHoklch(78.72% 0.115 120.7)
XYZxyz(40.4600, 50.1723, 22.3016)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56E #846EC5
analogous
#C5AF6E #AFC56E #84C56E
triadic
#AFC56E #6EAFC5 #C56EAF
tetradic
#AFC56E #6EC5AF #846EC5 #C56E84
square
#AFC56E #6EC5AF #846EC5 #C56E84
split-complementary
#AFC56E #6E84C5 #AF6EC5
monochromatic
#708435 #95B046 #AFC56E #C7D69A #DFE8C5

Accessibility & contrast

On white

1.90
#AFC56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#AFC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC56E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC56E#FFFFFF#000000##000000
##AFC56E1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc56e;
/* rgb */ color: rgb(175, 197, 110);
/* oklch */ color: oklch(78.7% 0.115 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8d699',
    500: '#afc56e',
    950: '#000000',
  },
}
SCSS
$custom: #afc56e;
$custom-light: #c8d699;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56e",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 75.172,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78722,
    "c": 0.11533,
    "h": 120.7
  },
  "luminance": 0.50172
}

Semantic roles & 50–950 ramp

primary
#AFC56E
secondary
#5C4B8C
accent
#30B652
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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