#847C1F#847C1F

#847C1F is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.110 H 104.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#847C1F
RGBrgb(132, 124, 31)
HSLhsl(55, 62%, 32%)
HSVhsv(55, 77%, 52%)
CMYKcmyk(0%, 6.1%, 76.5%, 48.2%)
CIE-LABlab(51.18, -8.00, 48.51)
CIE-LCHlch(51.18, 49.16, 99.36°)
OKLaboklab(57.64% -0.0272 0.1067)
OKLCHoklch(57.64% 0.11 104.3)
XYZxyz(16.9714, 19.4205, 4.1506)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847C1F #1F2784
analogous
#844A1F #847C1F #59841F
triadic
#847C1F #1F847C #7C1F84
tetradic
#847C1F #1F844A #1F2784 #841F59
square
#847C1F #1F844A #1F2784 #841F59
split-complementary
#847C1F #1F5984 #4A1F84
monochromatic
#211F08 #524D13 #847C1F #B6AB2B #D4C949

Accessibility & contrast

On white

4.30
#847C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#847C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847C1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847C1F#FFFFFF#000000##000000
##847C1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#8E736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #847c1f;
/* rgb */ color: rgb(132, 124, 31);
/* oklch */ color: oklch(57.6% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#aba162',
    500: '#847c1f',
    950: '#000000',
  },
}
SCSS
$custom: #847c1f;
$custom-light: #aba162;
$custom-dark: #000000;
JSON
{
  "hex": "#847c1f",
  "rgb": {
    "r": 132,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 55.248,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.11008,
    "h": 104.3
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#847C1F
secondary
#4851B7
accent
#50E543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #847C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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