#AFA67F#AFA67F

#AFA67F is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.054 H 96.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AFA67F
RGBrgb(175, 166, 127)
HSLhsl(49, 23%, 59%)
HSVhsv(49, 27%, 69%)
CMYKcmyk(0%, 5.1%, 27.4%, 31.4%)
CIE-LABlab(67.96, -3.02, 21.41)
CIE-LCHlch(67.96, 21.63, 98.03°)
OKLaboklab(72.28% -0.0063 0.0541)
OKLCHoklch(72.28% 0.054 96.6)
XYZxyz(35.1464, 37.9195, 25.5423)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67F #7F88AF
analogous
#AF8E7F #AFA67F #A0AF7F
triadic
#AFA67F #7FAFA6 #A67FAF
tetradic
#AFA67F #7FAF8E #7F88AF #AF7FA0
square
#AFA67F #7FAF8E #7F88AF #AF7FA0
split-complementary
#AFA67F #7FA0AF #8E7FAF
monochromatic
#6F6745 #948A5D #AFA67F #C7C0A5 #DEDACA

Accessibility & contrast

On white

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

On black

8.58
#AFA67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA67F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA67F#FFFFFF#000000##000000
##AFA67F1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47C
Deuteranopia (green-blind)
#B1A780
Tritanopia (blue-blind)
#B7A09C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa67f;
/* rgb */ color: rgb(175, 166, 127);
/* oklch */ color: oklch(72.3% 0.054 96.6);
Tailwind
colors: {
  custom: {
    50: '#c7c0a4',
    500: '#afa67f',
    950: '#000000',
  },
}
SCSS
$custom: #afa67f;
$custom-light: #c7c0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67f",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 127
  },
  "hsl": {
    "h": 48.75,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.05449,
    "h": 96.6
  },
  "luminance": 0.37919
}

Semantic roles & 50–950 ramp

primary
#AFA67F
secondary
#BCBFCE
accent
#79C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA67F

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

Preview Lab → · Contrast checker → · Palette generator →

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