#AFBB71#AFBB71

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

Color values

HEX#AFBB71
RGBrgb(175, 187, 113)
HSLhsl(70, 35%, 59%)
HSVhsv(70, 40%, 73%)
CMYKcmyk(6.4%, 0%, 39.6%, 26.7%)
CIE-LABlab(73.45, -15.82, 36.07)
CIE-LCHlch(73.45, 39.39, 113.67°)
OKLaboklab(76.55% -0.0435 0.0881)
OKLCHoklch(76.55% 0.098 116.3)
XYZxyz(38.4304, 45.8472, 22.4444)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB71 #7D71BB
analogous
#BBA271 #AFBB71 #8ABB71
triadic
#AFBB71 #71AFBB #BB71AF
tetradic
#AFBB71 #71BBA2 #7D71BB #BB718A
square
#AFBB71 #71BBA2 #7D71BB #BB718A
split-complementary
#AFBB71 #718ABB #A271BB
monochromatic
#6E783A #94A14D #AFBB71 #C6CF9A #DEE3C4

Accessibility & contrast

On white

2.07
#AFBB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB71#FFFFFF#000000##000000
##AFBB711.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb71;
/* rgb */ color: rgb(175, 187, 113);
/* oklch */ color: oklch(76.6% 0.098 116.3);
Tailwind
colors: {
  custom: {
    50: '#c8cf9b',
    500: '#afbb71',
    950: '#000000',
  },
}
SCSS
$custom: #afbb71;
$custom-light: #c8cf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb71",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 113
  },
  "hsl": {
    "h": 69.73,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76554,
    "c": 0.09826,
    "h": 116.3
  },
  "luminance": 0.45847
}

Semantic roles & 50–950 ramp

primary
#AFBB71
secondary
#BAB5D2
accent
#5DCB6E
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBB71

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

Preview Lab → · Contrast checker → · Palette generator →

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