#AFA37D#AFA37D

#AFA37D is a light, muted yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.054 H 92.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA37D
RGBrgb(175, 163, 125)
HSLhsl(46, 24%, 59%)
HSVhsv(46, 29%, 69%)
CMYKcmyk(0%, 6.9%, 28.6%, 31.4%)
CIE-LABlab(67.12, -1.68, 21.36)
CIE-LCHlch(67.12, 21.43, 94.50°)
OKLaboklab(71.6% -0.0025 0.054)
OKLCHoklch(71.6% 0.054 92.6)
XYZxyz(34.4783, 36.7899, 24.6830)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA37D #7D89AF
analogous
#AF8A7D #AFA37D #A2AF7D
triadic
#AFA37D #7DAFA3 #A37DAF
tetradic
#AFA37D #7DAF8A #7D89AF #AF7DA2
square
#AFA37D #7DAF8A #7D89AF #AF7DA2
split-complementary
#AFA37D #7DA2AF #8A7DAF
monochromatic
#6E6444 #94865B #AFA37D #C6BEA3 #DED9C9

Accessibility & contrast

On white

2.51
#AFA37D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AFA37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA37D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA37D#FFFFFF#000000##000000
##AFA37D1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA17B
Deuteranopia (green-blind)
#AEA57E
Tritanopia (blue-blind)
#B79D99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa37d;
/* rgb */ color: rgb(175, 163, 125);
/* oklch */ color: oklch(71.6% 0.054 92.6);
Tailwind
colors: {
  custom: {
    50: '#c7bea3',
    500: '#afa37d',
    950: '#000000',
  },
}
SCSS
$custom: #afa37d;
$custom-light: #c7bea3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa37d",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 125
  },
  "hsl": {
    "h": 45.6,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.05403,
    "h": 92.6
  },
  "luminance": 0.36789
}

Semantic roles & 50–950 ramp

primary
#AFA37D
secondary
#BABFCE
accent
#7DC068
background
#FCFBFA
surface
#F8F6F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA37D

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

Preview Lab → · Contrast checker → · Palette generator →

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