#A7891F#A7891F

#A7891F is a light, vivid yellow. Relative luminance 0.262; OKLCH L 64.0% C 0.122 H 91.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A7891F
RGBrgb(167, 137, 31)
HSLhsl(47, 69%, 39%)
HSVhsv(47, 81%, 65%)
CMYKcmyk(0%, 18%, 81.4%, 34.5%)
CIE-LABlab(58.23, 0.95, 56.22)
CIE-LCHlch(58.23, 56.23, 89.04°)
OKLaboklab(64.04% -0.0038 0.1215)
OKLCHoklch(64.04% 0.122 91.8)
XYZxyz(25.1308, 26.2073, 5.0309)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7891F #1F3DA7
analogous
#A7451F #A7891F #81A71F
triadic
#A7891F #1FA789 #891FA7
tetradic
#A7891F #1FA745 #1F3DA7 #A71F81
square
#A7891F #1FA745 #1F3DA7 #A71F81
split-complementary
#A7891F #1F81A7 #451FA7
monochromatic
#40340C #735F15 #A7891F #D8B22B #E1C55F

Accessibility & contrast

On white

3.36
#A7891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A7891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7891F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7891F#FFFFFF#000000##000000
##A7891F1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#B57D75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a7891f;
/* rgb */ color: rgb(167, 137, 31);
/* oklch */ color: oklch(64.0% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#c6ab65',
    500: '#a7891f',
    950: '#000000',
  },
}
SCSS
$custom: #a7891f;
$custom-light: #c6ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a7891f",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 46.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.12156,
    "h": 91.8
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#A7891F
secondary
#5C73C6
accent
#63EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A7891F

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

Preview Lab → · Contrast checker → · Palette generator →

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