#AF9547#AF9547

#AF9547 is a light, moderate yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.102 H 91.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9547
RGBrgb(175, 149, 71)
HSLhsl(45, 42%, 48%)
HSVhsv(45, 59%, 69%)
CMYKcmyk(0%, 14.9%, 59.4%, 31.4%)
CIE-LABlab(62.56, 0.15, 44.03)
CIE-LCHlch(62.56, 44.03, 89.81°)
OKLaboklab(67.74% -0.0019 0.1024)
OKLCHoklch(67.74% 0.102 91)
XYZxyz(29.5653, 31.0653, 10.3989)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9547 #4761AF
analogous
#AF6147 #AF9547 #95AF47
triadic
#AF9547 #47AF95 #9547AF
tetradic
#AF9547 #47AF61 #4761AF #AF4795
square
#AF9547 #47AF61 #4761AF #AF4795
split-complementary
#AF9547 #4795AF #6147AF
monochromatic
#584B24 #837035 #AF9547 #C4AF6F #D6C79A

Accessibility & contrast

On white

2.91
#AF9547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9547
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9547#FFFFFF#000000##000000
##AF95471.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3933F
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#BC8A84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9547;
/* rgb */ color: rgb(175, 149, 71);
/* oklch */ color: oklch(67.7% 0.102 91.0);
Tailwind
colors: {
  custom: {
    50: '#cab37d',
    500: '#af9547',
    950: '#000000',
  },
}
SCSS
$custom: #af9547;
$custom-light: #cab37d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9547",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 71
  },
  "hsl": {
    "h": 45,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67739,
    "c": 0.10237,
    "h": 91
  },
  "luminance": 0.31064
}

Semantic roles & 50–950 ramp

primary
#AF9547
secondary
#8F9CC2
accent
#75D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9547

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

Preview Lab → · Contrast checker → · Palette generator →

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