#AFA67B#AFA67B

#AFA67B is a light, muted yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.060 H 97.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AFA67B
RGBrgb(175, 166, 123)
HSLhsl(50, 25%, 58%)
HSVhsv(50, 30%, 69%)
CMYKcmyk(0%, 5.1%, 29.7%, 31.4%)
CIE-LABlab(67.89, -3.57, 23.49)
CIE-LCHlch(67.89, 23.76, 98.64°)
OKLaboklab(72.19% -0.008 0.059)
OKLCHoklch(72.19% 0.06 97.7)
XYZxyz(34.8908, 37.8173, 24.1965)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67B #7B84AF
analogous
#AF8C7B #AFA67B #9EAF7B
triadic
#AFA67B #7BAFA6 #A67BAF
tetradic
#AFA67B #7BAF8C #7B84AF #AF7B9E
square
#AFA67B #7BAF8C #7B84AF #AF7B9E
split-complementary
#AFA67B #7B9EAF #8C7BAF
monochromatic
#6D6642 #938959 #AFA67B #C6C0A1 #DDD9C7

Accessibility & contrast

On white

2.45
#AFA67B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#AFA67B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA67B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA67B#FFFFFF#000000##000000
##AFA67B1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA378
Deuteranopia (green-blind)
#B1A77C
Tritanopia (blue-blind)
#B7A09B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa67b;
/* rgb */ color: rgb(175, 166, 123);
/* oklch */ color: oklch(72.2% 0.060 97.7);
Tailwind
colors: {
  custom: {
    50: '#c7c0a1',
    500: '#afa67b',
    950: '#000000',
  },
}
SCSS
$custom: #afa67b;
$custom-light: #c7c0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67b",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 123
  },
  "hsl": {
    "h": 49.615,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.05958,
    "h": 97.7
  },
  "luminance": 0.37816
}

Semantic roles & 50–950 ramp

primary
#AFA67B
secondary
#B9BCCD
accent
#76C167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA67B

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

Preview Lab → · Contrast checker → · Palette generator →

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