#AFC56D#AFC56D

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

Color values

HEX#AFC56D
RGBrgb(175, 197, 109)
HSLhsl(75, 43%, 60%)
HSVhsv(75, 45%, 77%)
CMYKcmyk(11.2%, 0%, 44.7%, 22.7%)
CIE-LABlab(76.16, -21.29, 41.51)
CIE-LCHlch(76.16, 46.65, 117.15°)
OKLaboklab(78.71% -0.0593 0.1002)
OKLCHoklch(78.71% 0.116 120.6)
XYZxyz(40.4059, 50.1507, 22.0164)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56D #836DC5
analogous
#C5AF6D #AFC56D #83C56D
triadic
#AFC56D #6DAFC5 #C56DAF
tetradic
#AFC56D #6DC5AF #836DC5 #C56D83
square
#AFC56D #6DC5AF #836DC5 #C56D83
split-complementary
#AFC56D #6D83C5 #AF6DC5
monochromatic
#708334 #95AF46 #AFC56D #C7D699 #DFE8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC56D#FFFFFF#000000##000000
##AFC56D1.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)
#CFBC66
Deuteranopia (green-blind)
#CCBC72
Tritanopia (blue-blind)
#B6BDB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc56d;
/* rgb */ color: rgb(175, 197, 109);
/* oklch */ color: oklch(78.7% 0.116 120.6);
Tailwind
colors: {
  custom: {
    50: '#c8d698',
    500: '#afc56d',
    950: '#000000',
  },
}
SCSS
$custom: #afc56d;
$custom-light: #c8d698;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56d",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 75,
    "s": 43.137,
    "l": 60
  },
  "oklch": {
    "l": 0.78707,
    "c": 0.1164,
    "h": 120.6
  },
  "luminance": 0.50151
}

Semantic roles & 50–950 ramp

primary
#AFC56D
secondary
#5B4B8B
accent
#55D374
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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