#AF973A#AF973A

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

Color values

HEX#AF973A
RGBrgb(175, 151, 58)
HSLhsl(48, 50%, 46%)
HSVhsv(48, 67%, 69%)
CMYKcmyk(0%, 13.7%, 66.9%, 31.4%)
CIE-LABlab(62.97, -1.83, 50.55)
CIE-LCHlch(62.97, 50.59, 92.07°)
OKLaboklab(68.02% -0.0092 0.1144)
OKLCHoklch(68.02% 0.115 94.6)
XYZxyz(29.5109, 31.5542, 8.5383)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973A #3A52AF
analogous
#AF5C3A #AF973A #8CAF3A
triadic
#AF973A #3AAF97 #973AAF
tetradic
#AF973A #3AAF5C #3A52AF #AF3A8C
square
#AF973A #3AAF5C #3A52AF #AF3A8C
split-complementary
#AF973A #3A8CAF #5C3AAF
monochromatic
#53481C #816F2B #AF973A #C9B35D #D9C98B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF973A#FFFFFF#000000##000000
##AF973A1.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)
#A6942F
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973a;
/* rgb */ color: rgb(175, 151, 58);
/* oklch */ color: oklch(68.0% 0.115 94.6);
Tailwind
colors: {
  custom: {
    50: '#cab575',
    500: '#af973a',
    950: '#000000',
  },
}
SCSS
$custom: #af973a;
$custom-light: #cab575;
$custom-dark: #000000;
JSON
{
  "hex": "#af973a",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 58
  },
  "hsl": {
    "h": 47.692,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68023,
    "c": 0.11476,
    "h": 94.6
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

primary
#AF973A
secondary
#828FC3
accent
#6BDA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973A

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

Preview Lab → · Contrast checker → · Palette generator →

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