#A7882B#A7882B

#A7882B is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.9% C 0.114 H 89.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A7882B
RGBrgb(167, 136, 43)
HSLhsl(45, 59%, 41%)
HSVhsv(45, 74%, 65%)
CMYKcmyk(0%, 18.6%, 74.3%, 34.5%)
CIE-LABlab(58.04, 1.99, 51.64)
CIE-LCHlch(58.04, 51.68, 87.79°)
OKLaboklab(63.9% 0.0005 0.1142)
OKLCHoklch(63.9% 0.114 89.8)
XYZxyz(25.1780, 25.9998, 5.9774)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7882B #2B4AA7
analogous
#A74A2B #A7882B #88A72B
triadic
#A7882B #2BA788 #882BA7
tetradic
#A7882B #2BA74A #2B4AA7 #A72B88
square
#A7882B #2BA74A #2B4AA7 #A72B88
split-complementary
#A7882B #2B88A7 #4A2BA7
monochromatic
#463912 #76601E #A7882B #CEAB41 #DBC072

Accessibility & contrast

On white

3.39
#A7882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A7882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7882B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7882B#FFFFFF#000000##000000
##A7882B1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861D
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#B57C75
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a7882b;
/* rgb */ color: rgb(167, 136, 43);
/* oklch */ color: oklch(63.9% 0.114 89.8);
Tailwind
colors: {
  custom: {
    50: '#c5aa6b',
    500: '#a7882b',
    950: '#000000',
  },
}
SCSS
$custom: #a7882b;
$custom-light: #c5aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7882b",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.11424,
    "h": 89.8
  },
  "luminance": 0.25998
}

Semantic roles & 50–950 ramp

primary
#A7882B
secondary
#6C81C2
accent
#6DE246
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7882B

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

Preview Lab → · Contrast checker → · Palette generator →

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