#AFC56C#AFC56C

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

Color values

HEX#AFC56C
RGBrgb(175, 197, 108)
HSLhsl(75, 43%, 60%)
HSVhsv(75, 45%, 77%)
CMYKcmyk(11.2%, 0%, 45.2%, 22.7%)
CIE-LABlab(76.15, -21.40, 41.99)
CIE-LCHlch(76.15, 47.13, 117.01°)
OKLaboklab(78.69% -0.0597 0.1012)
OKLCHoklch(78.69% 0.117 120.6)
XYZxyz(40.3524, 50.1293, 21.7345)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56C #826CC5
analogous
#C5AE6C #AFC56C #83C56C
triadic
#AFC56C #6CAFC5 #C56CAF
tetradic
#AFC56C #6CC5AE #826CC5 #C56C83
square
#AFC56C #6CC5AE #826CC5 #C56C83
split-complementary
#AFC56C #6C83C5 #AE6CC5
monochromatic
#6F8334 #95AF45 #AFC56C #C7D698 #DFE8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC56C#FFFFFF#000000##000000
##AFC56C1.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)
#CFBC65
Deuteranopia (green-blind)
#CCBC71
Tritanopia (blue-blind)
#B6BDB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc56c;
/* rgb */ color: rgb(175, 197, 108);
/* oklch */ color: oklch(78.7% 0.117 120.6);
Tailwind
colors: {
  custom: {
    50: '#c8d698',
    500: '#afc56c',
    950: '#000000',
  },
}
SCSS
$custom: #afc56c;
$custom-light: #c8d698;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56c",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 108
  },
  "hsl": {
    "h": 74.831,
    "s": 43.415,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78692,
    "c": 0.11747,
    "h": 120.6
  },
  "luminance": 0.50129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC56C

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

Preview Lab → · Contrast checker → · Palette generator →

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