#AFC56F#AFC56F

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

Color values

HEX#AFC56F
RGBrgb(175, 197, 111)
HSLhsl(75, 43%, 60%)
HSVhsv(75, 44%, 77%)
CMYKcmyk(11.2%, 0%, 43.7%, 22.7%)
CIE-LABlab(76.19, -21.07, 40.55)
CIE-LCHlch(76.19, 45.69, 117.46°)
OKLaboklab(78.74% -0.0586 0.0981)
OKLCHoklch(78.74% 0.114 120.8)
XYZxyz(40.5148, 50.1942, 22.5899)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC56F #856FC5
analogous
#C5B06F #AFC56F #84C56F
triadic
#AFC56F #6FAFC5 #C56FAF
tetradic
#AFC56F #6FC5B0 #856FC5 #C56F84
square
#AFC56F #6FC5B0 #856FC5 #C56F84
split-complementary
#AFC56F #6F84C5 #B06FC5
monochromatic
#708435 #95B047 #AFC56F #C7D79B #DFE8C6

Accessibility & contrast

On white

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

On black

11.04
#AFC56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC56F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC56F#FFFFFF#000000##000000
##AFC56F1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc56f;
/* rgb */ color: rgb(175, 197, 111);
/* oklch */ color: oklch(78.7% 0.114 120.8);
Tailwind
colors: {
  custom: {
    50: '#c8d69a',
    500: '#afc56f',
    950: '#000000',
  },
}
SCSS
$custom: #afc56f;
$custom-light: #c8d69a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc56f",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 75.349,
    "s": 42.574,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78737,
    "c": 0.11425,
    "h": 120.8
  },
  "luminance": 0.50194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC56F

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

Preview Lab → · Contrast checker → · Palette generator →

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