#AFBC72#AFBC72

#AFBC72 is a light, moderate yellow-green. Relative luminance 0.463; OKLCH L 76.8% C 0.098 H 116.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#AFBC72
RGBrgb(175, 188, 114)
HSLhsl(71, 36%, 59%)
HSVhsv(71, 39%, 74%)
CMYKcmyk(6.9%, 0%, 39.4%, 26.3%)
CIE-LABlab(73.74, -16.21, 35.93)
CIE-LCHlch(73.74, 39.42, 114.28°)
OKLaboklab(76.79% -0.0446 0.0878)
OKLCHoklch(76.79% 0.098 116.9)
XYZxyz(38.6998, 46.2956, 22.8135)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC72 #7F72BC
analogous
#BCA472 #AFBC72 #8ABC72
triadic
#AFBC72 #72AFBC #BC72AF
tetradic
#AFBC72 #72BCA4 #7F72BC #BC728A
square
#AFBC72 #72BCA4 #7F72BC #BC728A
split-complementary
#AFBC72 #728ABC #A472BC
monochromatic
#6F7A3A #94A34E #AFBC72 #C7D09B #DEE3C5

Accessibility & contrast

On white

2.05
#AFBC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#AFBC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC72
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC72#FFFFFF#000000##000000
##AFBC721.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56C
Deuteranopia (green-blind)
#C4B676
Tritanopia (blue-blind)
#B6B5AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc72;
/* rgb */ color: rgb(175, 188, 114);
/* oklch */ color: oklch(76.8% 0.098 116.9);
Tailwind
colors: {
  custom: {
    50: '#c8d09b',
    500: '#afbc72',
    950: '#000000',
  },
}
SCSS
$custom: #afbc72;
$custom-light: #c8d09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc72",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 114
  },
  "hsl": {
    "h": 70.541,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76791,
    "c": 0.09848,
    "h": 116.9
  },
  "luminance": 0.46295
}

Semantic roles & 50–950 ramp

primary
#AFBC72
secondary
#BCB6D3
accent
#5CCC70
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC72

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

Preview Lab → · Contrast checker → · Palette generator →

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