#847E2A#847E2A

#847E2A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.104 H 105.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#847E2A
RGBrgb(132, 126, 42)
HSLhsl(56, 52%, 34%)
HSVhsv(56, 68%, 52%)
CMYKcmyk(0%, 4.5%, 68.2%, 48.2%)
CIE-LABlab(51.83, -8.50, 44.70)
CIE-LCHlch(51.83, 45.50, 100.76°)
OKLaboklab(58.18% -0.0274 0.1007)
OKLCHoklch(58.18% 0.104 105.2)
XYZxyz(17.3952, 19.9950, 5.1332)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E2A #2A3084
analogous
#84512A #847E2A #5D842A
triadic
#847E2A #2A847E #7E2A84
tetradic
#847E2A #2A8451 #2A3084 #842A5D
square
#847E2A #2A8451 #2A3084 #842A5D
split-complementary
#847E2A #2A5D84 #512A84
monochromatic
#27250C #56521B #847E2A #B2AA39 #CBC45D

Accessibility & contrast

On white

4.20
#847E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#847E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E2A#FFFFFF#000000##000000
##847E2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847e2a;
/* rgb */ color: rgb(132, 126, 42);
/* oklch */ color: oklch(58.2% 0.104 105.2);
Tailwind
colors: {
  custom: {
    50: '#aaa368',
    500: '#847e2a',
    950: '#000000',
  },
}
SCSS
$custom: #847e2a;
$custom-light: #aaa368;
$custom-dark: #000000;
JSON
{
  "hex": "#847e2a",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 56,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.10435,
    "h": 105.2
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#847E2A
secondary
#595FB1
accent
#56DB4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#847E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva