#AF973C#AF973C

#AF973C is a light, moderate yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.113 H 94.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AF973C
RGBrgb(175, 151, 60)
HSLhsl(47, 49%, 46%)
HSVhsv(47, 66%, 69%)
CMYKcmyk(0%, 13.7%, 65.7%, 31.4%)
CIE-LABlab(62.99, -1.70, 49.68)
CIE-LCHlch(62.99, 49.71, 91.96°)
OKLaboklab(68.04% -0.0086 0.1129)
OKLCHoklch(68.04% 0.113 94.4)
XYZxyz(29.5628, 31.5750, 8.8115)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973C #3C54AF
analogous
#AF5D3C #AF973C #8DAF3C
triadic
#AF973C #3CAF97 #973CAF
tetradic
#AF973C #3CAF5D #3C54AF #AF3C8D
square
#AF973C #3CAF5D #3C54AF #AF3C8D
split-complementary
#AF973C #3C8DAF #5D3CAF
monochromatic
#54481D #81702C #AF973C #C8B360 #D8C88D

Accessibility & contrast

On white

2.87
#AF973C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#AF973C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF973C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF973C#FFFFFF#000000##000000
##AF973C1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69431
Deuteranopia (green-blind)
#AC9C40
Tritanopia (blue-blind)
#BD8C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973c;
/* rgb */ color: rgb(175, 151, 60);
/* oklch */ color: oklch(68.0% 0.113 94.4);
Tailwind
colors: {
  custom: {
    50: '#cab576',
    500: '#af973c',
    950: '#000000',
  },
}
SCSS
$custom: #af973c;
$custom-light: #cab576;
$custom-dark: #000000;
JSON
{
  "hex": "#af973c",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 60
  },
  "hsl": {
    "h": 47.478,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.11319,
    "h": 94.4
  },
  "luminance": 0.31573
}

Semantic roles & 50–950 ramp

primary
#AF973C
secondary
#8491C3
accent
#6CD84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973C

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

Preview Lab → · Contrast checker → · Palette generator →

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