#847E1F#847E1F

#847E1F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.112 H 105.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#847E1F
RGBrgb(132, 126, 31)
HSLhsl(56, 62%, 32%)
HSVhsv(56, 77%, 52%)
CMYKcmyk(0%, 4.5%, 76.5%, 48.2%)
CIE-LABlab(51.75, -9.10, 49.05)
CIE-LCHlch(51.75, 49.89, 100.51°)
OKLaboklab(58.1% -0.0303 0.1078)
OKLCHoklch(58.1% 0.112 105.7)
XYZxyz(17.2246, 19.9268, 4.2350)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E1F #1F2584
analogous
#844C1F #847E1F #57841F
triadic
#847E1F #1F847E #7E1F84
tetradic
#847E1F #1F844C #1F2584 #841F57
square
#847E1F #1F844C #1F2584 #841F57
split-complementary
#847E1F #1F5784 #4C1F84
monochromatic
#211F08 #524F13 #847E1F #B6AD2B #D4CC49

Accessibility & contrast

On white

4.21
#847E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#847E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E1F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E1F#FFFFFF#000000##000000
##847E1F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e1f;
/* rgb */ color: rgb(132, 126, 31);
/* oklch */ color: oklch(58.1% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#aba363',
    500: '#847e1f',
    950: '#000000',
  },
}
SCSS
$custom: #847e1f;
$custom-light: #aba363;
$custom-dark: #000000;
JSON
{
  "hex": "#847e1f",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 56.436,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.112,
    "h": 105.7
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#847E1F
secondary
#484FB7
accent
#4CE543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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