#AF973B#AF973B

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

Color values

HEX#AF973B
RGBrgb(175, 151, 59)
HSLhsl(48, 50%, 46%)
HSVhsv(48, 66%, 69%)
CMYKcmyk(0%, 13.7%, 66.3%, 31.4%)
CIE-LABlab(62.98, -1.77, 50.12)
CIE-LCHlch(62.98, 50.15, 92.02°)
OKLaboklab(68.03% -0.0089 0.1136)
OKLCHoklch(68.03% 0.114 94.5)
XYZxyz(29.5366, 31.5645, 8.6736)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973B #3B53AF
analogous
#AF5D3B #AF973B #8DAF3B
triadic
#AF973B #3BAF97 #973BAF
tetradic
#AF973B #3BAF5D #3B53AF #AF3B8D
square
#AF973B #3BAF5D #3B53AF #AF3B8D
split-complementary
#AF973B #3B8DAF #5D3BAF
monochromatic
#53481C #81702C #AF973B #C9B35E #D8C98C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF973B#FFFFFF#000000##000000
##AF973B1.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)
#A69430
Deuteranopia (green-blind)
#AC9C40
Tritanopia (blue-blind)
#BD8C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973b;
/* rgb */ color: rgb(175, 151, 59);
/* oklch */ color: oklch(68.0% 0.114 94.5);
Tailwind
colors: {
  custom: {
    50: '#cab575',
    500: '#af973b',
    950: '#000000',
  },
}
SCSS
$custom: #af973b;
$custom-light: #cab575;
$custom-dark: #000000;
JSON
{
  "hex": "#af973b",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 47.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68032,
    "c": 0.11398,
    "h": 94.5
  },
  "luminance": 0.31563
}

Semantic roles & 50–950 ramp

primary
#AF973B
secondary
#8390C3
accent
#6BD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973B

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

Preview Lab → · Contrast checker → · Palette generator →

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