#AF9D4D#AF9D4D

#AF9D4D is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.103 H 96.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AF9D4D
RGBrgb(175, 157, 77)
HSLhsl(49, 39%, 49%)
HSVhsv(49, 56%, 69%)
CMYKcmyk(0%, 10.3%, 56%, 31.4%)
CIE-LABlab(64.78, -3.71, 43.65)
CIE-LCHlch(64.78, 43.80, 94.86°)
OKLaboklab(69.51% -0.0123 0.1022)
OKLCHoklch(69.51% 0.103 96.9)
XYZxyz(31.0769, 33.7651, 11.9001)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D4D #4D5FAF
analogous
#AF6C4D #AF9D4D #90AF4D
triadic
#AF9D4D #4DAF9D #9D4DAF
tetradic
#AF9D4D #4DAF6C #4D5FAF #AF4D90
square
#AF9D4D #4DAF6C #4D5FAF #AF4D90
split-complementary
#AF9D4D #4D90AF #6C4DAF
monochromatic
#5A5128 #85773A #AF9D4D #C3B576 #D6CCA1

Accessibility & contrast

On white

2.71
#AF9D4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AF9D4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D4D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D4D#FFFFFF#000000##000000
##AF9D4D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A45
Deuteranopia (green-blind)
#AFA051
Tritanopia (blue-blind)
#BB938B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d4d;
/* rgb */ color: rgb(175, 157, 77);
/* oklch */ color: oklch(69.5% 0.103 96.9);
Tailwind
colors: {
  custom: {
    50: '#c9b981',
    500: '#af9d4d',
    950: '#000000',
  },
}
SCSS
$custom: #af9d4d;
$custom-light: #c9b981;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d4d",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 77
  },
  "hsl": {
    "h": 48.98,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69509,
    "c": 0.10295,
    "h": 96.9
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#AF9D4D
secondary
#959EC3
accent
#6FCF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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