#A7911F#A7911F

#A7911F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.7% C 0.127 H 97.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A7911F
RGBrgb(167, 145, 31)
HSLhsl(50, 69%, 39%)
HSVhsv(50, 81%, 65%)
CMYKcmyk(0%, 13.2%, 81.4%, 34.5%)
CIE-LABlab(60.40, -3.44, 58.13)
CIE-LCHlch(60.40, 58.23, 93.38°)
OKLaboklab(65.75% -0.0162 0.1256)
OKLCHoklch(65.75% 0.127 97.4)
XYZxyz(26.3105, 28.5666, 5.4241)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7911F #1F35A7
analogous
#A74D1F #A7911F #79A71F
triadic
#A7911F #1FA791 #911FA7
tetradic
#A7911F #1FA74D #1F35A7 #A71F79
square
#A7911F #1FA74D #1F35A7 #A71F79
split-complementary
#A7911F #1F79A7 #4D1FA7
monochromatic
#40370C #736415 #A7911F #D8BC2B #E1CC5F

Accessibility & contrast

On white

3.13
#A7911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A7911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7911F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7911F#FFFFFF#000000##000000
##A7911F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A69528
Tritanopia (blue-blind)
#B5857C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a7911f;
/* rgb */ color: rgb(167, 145, 31);
/* oklch */ color: oklch(65.7% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#c5b066',
    500: '#a7911f',
    950: '#000000',
  },
}
SCSS
$custom: #a7911f;
$custom-light: #c5b066;
$custom-dark: #000000;
JSON
{
  "hex": "#a7911f",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 50.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.12668,
    "h": 97.4
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#A7911F
secondary
#5C6DC6
accent
#59EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A7911F

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

Preview Lab → · Contrast checker → · Palette generator →

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