#847F1F#847F1F

#847F1F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.113 H 106.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#847F1F
RGBrgb(132, 127, 31)
HSLhsl(57, 62%, 32%)
HSVhsv(57, 77%, 52%)
CMYKcmyk(0%, 3.8%, 76.5%, 48.2%)
CIE-LABlab(52.04, -9.64, 49.33)
CIE-LCHlch(52.04, 50.26, 101.06°)
OKLaboklab(58.33% -0.0318 0.1084)
OKLCHoklch(58.33% 0.113 106.4)
XYZxyz(17.3531, 20.1838, 4.2778)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F1F #1F2484
analogous
#844D1F #847F1F #57841F
triadic
#847F1F #1F847F #7F1F84
tetradic
#847F1F #1F844D #1F2484 #841F57
square
#847F1F #1F844D #1F2484 #841F57
split-complementary
#847F1F #1F5784 #4D1F84
monochromatic
#212008 #524F13 #847F1F #B6AF2B #D4CD49

Accessibility & contrast

On white

4.17
#847F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#847F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F1F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F1F#FFFFFF#000000##000000
##847F1F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f1f;
/* rgb */ color: rgb(132, 127, 31);
/* oklch */ color: oklch(58.3% 0.113 106.4);
Tailwind
colors: {
  custom: {
    50: '#aba363',
    500: '#847f1f',
    950: '#000000',
  },
}
SCSS
$custom: #847f1f;
$custom-light: #aba363;
$custom-dark: #000000;
JSON
{
  "hex": "#847f1f",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 57.03,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58328,
    "c": 0.11298,
    "h": 106.4
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#847F1F
secondary
#484EB7
accent
#4BE543
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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