#847A1B#847A1B

#847A1B is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.111 H 103.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#847A1B
RGBrgb(132, 122, 27)
HSLhsl(54, 66%, 31%)
HSVhsv(54, 80%, 52%)
CMYKcmyk(0%, 7.6%, 79.5%, 48.2%)
CIE-LABlab(50.58, -7.06, 49.38)
CIE-LCHlch(50.58, 49.89, 98.14°)
OKLaboklab(57.15% -0.025 0.1077)
OKLCHoklch(57.15% 0.111 103.1)
XYZxyz(16.6739, 18.9045, 3.8073)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847A1B #1B2584
analogous
#84451B #847A1B #59841B
triadic
#847A1B #1B847A #7A1B84
tetradic
#847A1B #1B8445 #1B2584 #841B59
square
#847A1B #1B8445 #1B2584 #841B59
split-complementary
#847A1B #1B5984 #451B84
monochromatic
#1E1C06 #514B11 #847A1B #B7A925 #D8CA41

Accessibility & contrast

On white

4.39
#847A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#847A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847A1B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847A1B#FFFFFF#000000##000000
##847A1B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#8F7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #847a1b;
/* rgb */ color: rgb(132, 122, 27);
/* oklch */ color: oklch(57.2% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#aba060',
    500: '#847a1b',
    950: '#000000',
  },
}
SCSS
$custom: #847a1b;
$custom-light: #aba060;
$custom-dark: #000000;
JSON
{
  "hex": "#847a1b",
  "rgb": {
    "r": 132,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 54.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.11058,
    "h": 103.1
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#847A1B
secondary
#434EB7
accent
#4FE93F
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #847A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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