#A97B1F#A97B1F

#A97B1F is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.4% C 0.117 H 79.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A97B1F
RGBrgb(169, 123, 31)
HSLhsl(40, 69%, 39%)
HSVhsv(40, 82%, 66%)
CMYKcmyk(0%, 27.2%, 81.7%, 33.7%)
CIE-LABlab(54.76, 9.66, 53.22)
CIE-LCHlch(54.76, 54.09, 79.71°)
OKLaboklab(61.36% 0.0211 0.1149)
OKLCHoklch(61.36% 0.117 79.6)
XYZxyz(23.6941, 22.7018, 4.4300)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97B1F #1F4DA9
analogous
#A9361F #A97B1F #92A91F
triadic
#A97B1F #1FA97B #7B1FA9
tetradic
#A97B1F #1FA936 #1F4DA9 #A91F92
square
#A97B1F #1FA936 #1F4DA9 #A91F92
split-complementary
#A97B1F #1F92A9 #361FA9
monochromatic
#42300C #755516 #A97B1F #D89F2D #E2B760

Accessibility & contrast

On white

3.79
#A97B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A97B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97B1F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97B1F#FFFFFF#000000##000000
##A97B1F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#B86E6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a97b1f;
/* rgb */ color: rgb(169, 123, 31);
/* oklch */ color: oklch(61.4% 0.117 79.6);
Tailwind
colors: {
  custom: {
    50: '#c8a063',
    500: '#a97b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a97b1f;
$custom-light: #c8a063;
$custom-dark: #000000;
JSON
{
  "hex": "#a97b1f",
  "rgb": {
    "r": 169,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 40,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.11679,
    "h": 79.6
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#A97B1F
secondary
#5D80C7
accent
#77EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #A97B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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