#AFA164#AFA164

#AFA164 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.082 H 96.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA164
RGBrgb(175, 161, 100)
HSLhsl(49, 32%, 54%)
HSVhsv(49, 43%, 69%)
CMYKcmyk(0%, 8%, 42.9%, 31.4%)
CIE-LABlab(66.16, -3.67, 33.56)
CIE-LCHlch(66.16, 33.76, 96.25°)
OKLaboklab(70.7% -0.0097 0.0817)
OKLCHoklch(70.7% 0.082 96.8)
XYZxyz(32.7251, 35.5249, 17.1873)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA164 #6472AF
analogous
#AF7C64 #AFA164 #98AF64
triadic
#AFA164 #64AFA1 #A164AF
tetradic
#AFA164 #64AF7C #6472AF #AF6498
square
#AFA164 #64AF7C #6472AF #AF6498
split-complementary
#AFA164 #6498AF #7C64AF
monochromatic
#655C34 #8D8049 #AFA164 #C4B98C #D9D2B5

Accessibility & contrast

On white

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

On black

8.10
#AFA164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA164
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA164#FFFFFF#000000##000000
##AFA1641.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E5F
Deuteranopia (green-blind)
#B0A366
Tritanopia (blue-blind)
#BA9992
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa164;
/* rgb */ color: rgb(175, 161, 100);
/* oklch */ color: oklch(70.7% 0.082 96.8);
Tailwind
colors: {
  custom: {
    50: '#c8bc91',
    500: '#afa164',
    950: '#000000',
  },
}
SCSS
$custom: #afa164;
$custom-light: #c8bc91;
$custom-dark: #000000;
JSON
{
  "hex": "#afa164",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 100
  },
  "hsl": {
    "h": 48.8,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.08228,
    "h": 96.8
  },
  "luminance": 0.35524
}

Semantic roles & 50–950 ramp

primary
#AFA164
secondary
#A7ADC7
accent
#73C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA164

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

Preview Lab → · Contrast checker → · Palette generator →

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