#847D1F#847D1F

#847D1F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.111 H 105.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#847D1F
RGBrgb(132, 125, 31)
HSLhsl(56, 62%, 32%)
HSVhsv(56, 77%, 52%)
CMYKcmyk(0%, 5.3%, 76.5%, 48.2%)
CIE-LABlab(51.46, -8.55, 48.78)
CIE-LCHlch(51.46, 49.53, 99.94°)
OKLaboklab(57.87% -0.0287 0.1072)
OKLCHoklch(57.87% 0.111 105)
XYZxyz(17.0974, 19.6724, 4.1926)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D1F #1F2684
analogous
#844B1F #847D1F #58841F
triadic
#847D1F #1F847D #7D1F84
tetradic
#847D1F #1F844B #1F2684 #841F58
square
#847D1F #1F844B #1F2684 #841F58
split-complementary
#847D1F #1F5884 #4B1F84
monochromatic
#211F08 #524E13 #847D1F #B6AC2B #D4CB49

Accessibility & contrast

On white

4.26
#847D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#847D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D1F#FFFFFF#000000##000000
##847D1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780C
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#8E746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d1f;
/* rgb */ color: rgb(132, 125, 31);
/* oklch */ color: oklch(57.9% 0.111 105.0);
Tailwind
colors: {
  custom: {
    50: '#aba262',
    500: '#847d1f',
    950: '#000000',
  },
}
SCSS
$custom: #847d1f;
$custom-light: #aba262;
$custom-dark: #000000;
JSON
{
  "hex": "#847d1f",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 55.842,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.11103,
    "h": 105
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#847D1F
secondary
#4850B7
accent
#4EE543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #847D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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