#A7881D#A7881D

#A7881D is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.8% C 0.122 H 91.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A7881D
RGBrgb(167, 136, 29)
HSLhsl(47, 70%, 38%)
HSVhsv(47, 83%, 65%)
CMYKcmyk(0%, 18.6%, 82.6%, 34.5%)
CIE-LABlab(57.96, 1.43, 56.62)
CIE-LCHlch(57.96, 56.63, 88.55°)
OKLaboklab(63.81% -0.0026 0.1219)
OKLCHoklch(63.81% 0.122 91.2)
XYZxyz(24.9638, 25.9141, 4.8492)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7881D #1D3CA7
analogous
#A7431D #A7881D #81A71D
triadic
#A7881D #1DA788 #881DA7
tetradic
#A7881D #1DA743 #1D3CA7 #A71D81
square
#A7881D #1DA743 #1D3CA7 #A71D81
split-complementary
#A7881D #1D81A7 #431DA7
monochromatic
#3F330B #735E14 #A7881D #DAB228 #E3C45C

Accessibility & contrast

On white

3.40
#A7881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A7881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7881D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7881D#FFFFFF#000000##000000
##A7881D1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#A08F24
Tritanopia (blue-blind)
#B57C74
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a7881d;
/* rgb */ color: rgb(167, 136, 29);
/* oklch */ color: oklch(63.8% 0.122 91.2);
Tailwind
colors: {
  custom: {
    50: '#c6aa64',
    500: '#a7881d',
    950: '#000000',
  },
}
SCSS
$custom: #a7881d;
$custom-light: #c6aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7881d",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 46.522,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.12195,
    "h": 91.2
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#A7881D
secondary
#5972C7
accent
#63ED3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7881D

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

Preview Lab → · Contrast checker → · Palette generator →

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