#AF9D47#AF9D47

#AF9D47 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.109 H 97.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF9D47
RGBrgb(175, 157, 71)
HSLhsl(50, 42%, 48%)
HSVhsv(50, 59%, 69%)
CMYKcmyk(0%, 10.3%, 59.4%, 31.4%)
CIE-LABlab(64.71, -4.18, 46.48)
CIE-LCHlch(64.71, 46.66, 95.14°)
OKLaboklab(69.44% -0.0144 0.1076)
OKLCHoklch(69.44% 0.109 97.6)
XYZxyz(30.8747, 33.6842, 10.8354)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D47 #4759AF
analogous
#AF6947 #AF9D47 #8DAF47
triadic
#AF9D47 #47AF9D #9D47AF
tetradic
#AF9D47 #47AF69 #4759AF #AF478D
square
#AF9D47 #47AF69 #4759AF #AF478D
split-complementary
#AF9D47 #478DAF #6947AF
monochromatic
#584F24 #837635 #AF9D47 #C4B66F #D6CC9A

Accessibility & contrast

On white

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

On black

7.74
#AF9D47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D47
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D47#FFFFFF#000000##000000
##AF9D471.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993E
Deuteranopia (green-blind)
#B0A04B
Tritanopia (blue-blind)
#BC928A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d47;
/* rgb */ color: rgb(175, 157, 71);
/* oklch */ color: oklch(69.4% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#c9b97d',
    500: '#af9d47',
    950: '#000000',
  },
}
SCSS
$custom: #af9d47;
$custom-light: #c9b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d47",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 71
  },
  "hsl": {
    "h": 49.615,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.10855,
    "h": 97.6
  },
  "luminance": 0.33683
}

Semantic roles & 50–950 ramp

primary
#AF9D47
secondary
#8F98C2
accent
#6BD256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9D47

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

Preview Lab → · Contrast checker → · Palette generator →

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