#A7931F#A7931F

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

Color values

HEX#A7931F
RGBrgb(167, 147, 31)
HSLhsl(51, 69%, 39%)
HSVhsv(51, 81%, 65%)
CMYKcmyk(0%, 12%, 81.4%, 34.5%)
CIE-LABlab(60.94, -4.52, 58.61)
CIE-LCHlch(60.94, 58.78, 94.41°)
OKLaboklab(66.18% -0.0193 0.1267)
OKLCHoklch(66.18% 0.128 98.7)
XYZxyz(26.6188, 29.1832, 5.5269)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7931F #1F33A7
analogous
#A74F1F #A7931F #77A71F
triadic
#A7931F #1FA793 #931FA7
tetradic
#A7931F #1FA74F #1F33A7 #A71F77
square
#A7931F #1FA74F #1F33A7 #A71F77
split-complementary
#A7931F #1F77A7 #4F1FA7
monochromatic
#40380C #736615 #A7931F #D8BE2B #E1CE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7931F#FFFFFF#000000##000000
##A7931F1.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)
#A89628
Tritanopia (blue-blind)
#B5877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a7931f;
/* rgb */ color: rgb(167, 147, 31);
/* oklch */ color: oklch(66.2% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#c5b266',
    500: '#a7931f',
    950: '#000000',
  },
}
SCSS
$custom: #a7931f;
$custom-light: #c5b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a7931f",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 51.176,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.12812,
    "h": 98.7
  },
  "luminance": 0.29182
}

Semantic roles & 50–950 ramp

primary
#A7931F
secondary
#5C6CC6
accent
#56EC3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A7931F

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

Preview Lab → · Contrast checker → · Palette generator →

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