#AFA167#AFA167

#AFA167 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.079 H 96.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AFA167
RGBrgb(175, 161, 103)
HSLhsl(48, 31%, 55%)
HSVhsv(48, 41%, 69%)
CMYKcmyk(0%, 8%, 41.1%, 31.4%)
CIE-LABlab(66.20, -3.34, 32.03)
CIE-LCHlch(66.20, 32.20, 95.96°)
OKLaboklab(70.75% -0.0085 0.0784)
OKLCHoklch(70.75% 0.079 96.2)
XYZxyz(32.8730, 35.5841, 17.9661)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA167 #6775AF
analogous
#AF7D67 #AFA167 #99AF67
triadic
#AFA167 #67AFA1 #A167AF
tetradic
#AFA167 #67AF7D #6775AF #AF6799
square
#AFA167 #67AF7D #6775AF #AF6799
split-complementary
#AFA167 #6799AF #7D67AF
monochromatic
#665D36 #8E814B #AFA167 #C4BA8F #D9D3B7

Accessibility & contrast

On white

2.59
#AFA167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AFA167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA167
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA167#FFFFFF#000000##000000
##AFA1671.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E63
Deuteranopia (green-blind)
#B0A369
Tritanopia (blue-blind)
#B99993
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa167;
/* rgb */ color: rgb(175, 161, 103);
/* oklch */ color: oklch(70.7% 0.079 96.2);
Tailwind
colors: {
  custom: {
    50: '#c8bc93',
    500: '#afa167',
    950: '#000000',
  },
}
SCSS
$custom: #afa167;
$custom-light: #c8bc93;
$custom-dark: #000000;
JSON
{
  "hex": "#afa167",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 103
  },
  "hsl": {
    "h": 48.333,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.70749,
    "c": 0.07882,
    "h": 96.2
  },
  "luminance": 0.35583
}

Semantic roles & 50–950 ramp

primary
#AFA167
secondary
#AAB0C8
accent
#75C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA167

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

Preview Lab → · Contrast checker → · Palette generator →

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