#AFA67D#AFA67D

#AFA67D is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.057 H 97.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AFA67D
RGBrgb(175, 166, 125)
HSLhsl(49, 24%, 59%)
HSVhsv(49, 29%, 69%)
CMYKcmyk(0%, 5.1%, 28.6%, 31.4%)
CIE-LABlab(67.92, -3.30, 22.45)
CIE-LCHlch(67.92, 22.69, 98.35°)
OKLaboklab(72.23% -0.0071 0.0566)
OKLCHoklch(72.23% 0.057 97.2)
XYZxyz(35.0173, 37.8679, 24.8626)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA67D #7D86AF
analogous
#AF8D7D #AFA67D #9FAF7D
triadic
#AFA67D #7DAFA6 #A67DAF
tetradic
#AFA67D #7DAF8D #7D86AF #AF7D9F
square
#AFA67D #7DAF8D #7D86AF #AF7D9F
split-complementary
#AFA67D #7D9FAF #8D7DAF
monochromatic
#6E6644 #948A5B #AFA67D #C6C0A3 #DEDAC9

Accessibility & contrast

On white

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

On black

8.57
#AFA67D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA67D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA67D#FFFFFF#000000##000000
##AFA67D1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa67d;
/* rgb */ color: rgb(175, 166, 125);
/* oklch */ color: oklch(72.2% 0.057 97.2);
Tailwind
colors: {
  custom: {
    50: '#c7c0a3',
    500: '#afa67d',
    950: '#000000',
  },
}
SCSS
$custom: #afa67d;
$custom-light: #c7c0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa67d",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 125
  },
  "hsl": {
    "h": 49.2,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.05705,
    "h": 97.2
  },
  "luminance": 0.37867
}

Semantic roles & 50–950 ramp

primary
#AFA67D
secondary
#BABECE
accent
#78C068
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA67D

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

Preview Lab → · Contrast checker → · Palette generator →

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