#AFBD72#AFBD72

#AFBD72 is a light, moderate yellow-green. Relative luminance 0.467; OKLCH L 77.0% C 0.100 H 117.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#AFBD72
RGBrgb(175, 189, 114)
HSLhsl(71, 36%, 59%)
HSVhsv(71, 40%, 74%)
CMYKcmyk(7.4%, 0%, 39.7%, 25.9%)
CIE-LABlab(74.01, -16.71, 36.28)
CIE-LCHlch(74.01, 39.95, 114.73°)
OKLaboklab(77.01% -0.046 0.0886)
OKLCHoklch(77.01% 0.1 117.4)
XYZxyz(38.9142, 46.7243, 22.8850)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD72 #8072BD
analogous
#BDA672 #AFBD72 #8ABD72
triadic
#AFBD72 #72AFBD #BD72AF
tetradic
#AFBD72 #72BDA6 #8072BD #BD728A
square
#AFBD72 #72BDA6 #8072BD #BD728A
split-complementary
#AFBD72 #728ABD #A672BD
monochromatic
#6F7B3A #94A54D #AFBD72 #C7D19C #DEE4C5

Accessibility & contrast

On white

2.03
#AFBD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#AFBD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD72
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD72#FFFFFF#000000##000000
##AFBD721.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66C
Deuteranopia (green-blind)
#C5B676
Tritanopia (blue-blind)
#B6B5AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd72;
/* rgb */ color: rgb(175, 189, 114);
/* oklch */ color: oklch(77.0% 0.100 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d09b',
    500: '#afbd72',
    950: '#000000',
  },
}
SCSS
$custom: #afbd72;
$custom-light: #c8d09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd72",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 114
  },
  "hsl": {
    "h": 71.2,
    "s": 36.232,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77011,
    "c": 0.09985,
    "h": 117.4
  },
  "luminance": 0.46724
}

Semantic roles & 50–950 ramp

primary
#AFBD72
secondary
#BCB7D4
accent
#5CCC71
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBD72

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

Preview Lab → · Contrast checker → · Palette generator →

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