#A7931E#A7931E

#A7931E is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.2% C 0.129 H 98.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A7931E
RGBrgb(167, 147, 30)
HSLhsl(51, 70%, 39%)
HSVhsv(51, 82%, 65%)
CMYKcmyk(0%, 12%, 82%, 34.5%)
CIE-LABlab(60.94, -4.55, 58.91)
CIE-LCHlch(60.94, 59.08, 94.42°)
OKLaboklab(66.17% -0.0195 0.1271)
OKLCHoklch(66.17% 0.129 98.7)
XYZxyz(26.6058, 29.1781, 5.4586)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7931E #1E32A7
analogous
#A74E1E #A7931E #76A71E
triadic
#A7931E #1EA793 #931EA7
tetradic
#A7931E #1EA74E #1E32A7 #A71E76
square
#A7931E #1EA74E #1E32A7 #A71E76
split-complementary
#A7931E #1E76A7 #4E1EA7
monochromatic
#3F380B #736515 #A7931E #D9BF2A #E2CF5D

Accessibility & contrast

On white

3.07
#A7931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A7931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7931E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7931E#FFFFFF#000000##000000
##A7931E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#B5877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a7931e;
/* rgb */ color: rgb(167, 147, 30);
/* oklch */ color: oklch(66.2% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#c5b266',
    500: '#a7931e',
    950: '#000000',
  },
}
SCSS
$custom: #a7931e;
$custom-light: #c5b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a7931e",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 51.241,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.12858,
    "h": 98.7
  },
  "luminance": 0.29177
}

Semantic roles & 50–950 ramp

primary
#A7931E
secondary
#5B6AC6
accent
#55EC3B
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A7931E

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

Preview Lab → · Contrast checker → · Palette generator →

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