#847E1B#847E1B

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

Color values

HEX#847E1B
RGBrgb(132, 126, 27)
HSLhsl(57, 66%, 31%)
HSVhsv(57, 80%, 52%)
CMYKcmyk(0%, 4.5%, 79.5%, 48.2%)
CIE-LABlab(51.73, -9.27, 50.44)
CIE-LCHlch(51.73, 51.28, 100.42°)
OKLaboklab(58.07% -0.0312 0.11)
OKLCHoklch(58.07% 0.114 105.8)
XYZxyz(17.1751, 19.9070, 3.9744)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E1B #1B2184
analogous
#84491B #847E1B #55841B
triadic
#847E1B #1B847E #7E1B84
tetradic
#847E1B #1B8449 #1B2184 #841B55
square
#847E1B #1B8449 #1B2184 #841B55
split-complementary
#847E1B #1B5584 #491B84
monochromatic
#1E1D06 #514D11 #847E1B #B7AE25 #D8D041

Accessibility & contrast

On white

4.22
#847E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#847E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E1B#FFFFFF#000000##000000
##847E1B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e1b;
/* rgb */ color: rgb(132, 126, 27);
/* oklch */ color: oklch(58.1% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#aba361',
    500: '#847e1b',
    950: '#000000',
  },
}
SCSS
$custom: #847e1b;
$custom-light: #aba361;
$custom-dark: #000000;
JSON
{
  "hex": "#847e1b",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 56.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.11429,
    "h": 105.8
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#847E1B
secondary
#434AB7
accent
#49E93F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #847E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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