#AFA67A#AFA67A

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

Color values

HEX#AFA67A
RGBrgb(175, 166, 122)
HSLhsl(50, 25%, 58%)
HSVhsv(50, 30%, 69%)
CMYKcmyk(0%, 5.1%, 30.3%, 31.4%)
CIE-LABlab(67.87, -3.70, 24.01)
CIE-LCHlch(67.87, 24.29, 98.76°)
OKLaboklab(72.17% -0.0084 0.0603)
OKLCHoklch(72.17% 0.061 97.9)
XYZxyz(34.8286, 37.7924, 23.8685)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67A #7A83AF
analogous
#AF8B7A #AFA67A #9DAF7A
triadic
#AFA67A #7AAFA6 #A67AAF
tetradic
#AFA67A #7AAF8B #7A83AF #AF7A9D
square
#AFA67A #7AAF8B #7A83AF #AF7A9D
split-complementary
#AFA67A #7A9DAF #8B7AAF
monochromatic
#6D6642 #938959 #AFA67A #C6C0A0 #DDD9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA67A#FFFFFF#000000##000000
##AFA67A1.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)
#AFA377
Deuteranopia (green-blind)
#B1A77C
Tritanopia (blue-blind)
#B7A09A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa67a;
/* rgb */ color: rgb(175, 166, 122);
/* oklch */ color: oklch(72.2% 0.061 97.9);
Tailwind
colors: {
  custom: {
    50: '#c7c0a0',
    500: '#afa67a',
    950: '#000000',
  },
}
SCSS
$custom: #afa67a;
$custom-light: #c7c0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67a",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 122
  },
  "hsl": {
    "h": 49.811,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.06084,
    "h": 97.9
  },
  "luminance": 0.37792
}

Semantic roles & 50–950 ramp

primary
#AFA67A
secondary
#B8BBCD
accent
#76C166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA67A

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

Preview Lab → · Contrast checker → · Palette generator →

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