#AFBB72#AFBB72

#AFBB72 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.097 H 116.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#AFBB72
RGBrgb(175, 187, 114)
HSLhsl(70, 35%, 59%)
HSVhsv(70, 39%, 73%)
CMYKcmyk(6.4%, 0%, 39%, 26.7%)
CIE-LABlab(73.46, -15.70, 35.58)
CIE-LCHlch(73.46, 38.89, 113.81°)
OKLaboklab(76.57% -0.0431 0.087)
OKLCHoklch(76.57% 0.097 116.4)
XYZxyz(38.4870, 45.8698, 22.7426)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB72 #7E72BB
analogous
#BBA372 #AFBB72 #8BBB72
triadic
#AFBB72 #72AFBB #BB72AF
tetradic
#AFBB72 #72BBA3 #7E72BB #BB728B
square
#AFBB72 #72BBA3 #7E72BB #BB728B
split-complementary
#AFBB72 #728BBB #A372BB
monochromatic
#6E783A #94A24E #AFBB72 #C6CF9B #DEE3C5

Accessibility & contrast

On white

2.06
#AFBB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#AFBB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB72
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB72#FFFFFF#000000##000000
##AFBB721.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46D
Deuteranopia (green-blind)
#C3B575
Tritanopia (blue-blind)
#B6B4A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb72;
/* rgb */ color: rgb(175, 187, 114);
/* oklch */ color: oklch(76.6% 0.097 116.4);
Tailwind
colors: {
  custom: {
    50: '#c8cf9b',
    500: '#afbb72',
    950: '#000000',
  },
}
SCSS
$custom: #afbb72;
$custom-light: #c8cf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb72",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 114
  },
  "hsl": {
    "h": 69.863,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.09711,
    "h": 116.4
  },
  "luminance": 0.4587
}

Semantic roles & 50–950 ramp

primary
#AFBB72
secondary
#BBB6D3
accent
#5DCB6F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBB72

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

Preview Lab → · Contrast checker → · Palette generator →

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