#A7851E#A7851E

#A7851E is a light, moderate yellow. Relative luminance 0.251; OKLCH L 63.2% C 0.120 H 88.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A7851E
RGBrgb(167, 133, 30)
HSLhsl(45, 70%, 39%)
HSVhsv(45, 82%, 65%)
CMYKcmyk(0%, 20.4%, 82%, 34.5%)
CIE-LABlab(57.16, 3.13, 55.60)
CIE-LCHlch(57.16, 55.69, 86.78°)
OKLaboklab(63.19% 0.0023 0.1199)
OKLCHoklch(63.19% 0.12 88.9)
XYZxyz(24.5598, 25.0859, 4.7766)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7851E #1E40A7
analogous
#A7401E #A7851E #84A71E
triadic
#A7851E #1EA785 #851EA7
tetradic
#A7851E #1EA740 #1E40A7 #A71E84
square
#A7851E #1EA740 #1E40A7 #A71E84
split-complementary
#A7851E #1E84A7 #401EA7
monochromatic
#3F320B #735C15 #A7851E #D9AD2A #E2C15D

Accessibility & contrast

On white

3.49
#A7851E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A7851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7851E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7851E#FFFFFF#000000##000000
##A7851E1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#9E8D25
Tritanopia (blue-blind)
#B57972
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a7851e;
/* rgb */ color: rgb(167, 133, 30);
/* oklch */ color: oklch(63.2% 0.120 88.9);
Tailwind
colors: {
  custom: {
    50: '#c6a864',
    500: '#a7851e',
    950: '#000000',
  },
}
SCSS
$custom: #a7851e;
$custom-light: #c6a864;
$custom-dark: #000000;
JSON
{
  "hex": "#a7851e",
  "rgb": {
    "r": 167,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 45.109,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63187,
    "c": 0.11995,
    "h": 88.9
  },
  "luminance": 0.25084
}

Semantic roles & 50–950 ramp

primary
#A7851E
secondary
#5B75C6
accent
#67EC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7851E

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

Preview Lab → · Contrast checker → · Palette generator →

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