#A7891E#A7891E

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

Color values

HEX#A7891E
RGBrgb(167, 137, 30)
HSLhsl(47, 70%, 39%)
HSVhsv(47, 82%, 65%)
CMYKcmyk(0%, 18%, 82%, 34.5%)
CIE-LABlab(58.23, 0.91, 56.54)
CIE-LCHlch(58.23, 56.55, 89.08°)
OKLaboklab(64.03% -0.004 0.122)
OKLCHoklch(64.03% 0.122 91.9)
XYZxyz(25.1179, 26.2021, 4.9626)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7891E #1E3CA7
analogous
#A7441E #A7891E #80A71E
triadic
#A7891E #1EA789 #891EA7
tetradic
#A7891E #1EA744 #1E3CA7 #A71E80
square
#A7891E #1EA744 #1E3CA7 #A71E80
split-complementary
#A7891E #1E80A7 #441EA7
monochromatic
#3F340B #735E15 #A7891E #D9B22A #E2C55D

Accessibility & contrast

On white

3.37
#A7891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7891E#FFFFFF#000000##000000
##A7891E1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7891e;
/* rgb */ color: rgb(167, 137, 30);
/* oklch */ color: oklch(64.0% 0.122 91.9);
Tailwind
colors: {
  custom: {
    50: '#c6ab64',
    500: '#a7891e',
    950: '#000000',
  },
}
SCSS
$custom: #a7891e;
$custom-light: #c6ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7891e",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 46.861,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.12204,
    "h": 91.9
  },
  "luminance": 0.26201
}

Semantic roles & 50–950 ramp

primary
#A7891E
secondary
#5B72C6
accent
#62EC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A7891E

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

Preview Lab → · Contrast checker → · Palette generator →

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