#847C2D#847C2D

#847C2D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.100 H 103.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#847C2D
RGBrgb(132, 124, 45)
HSLhsl(54, 49%, 35%)
HSVhsv(54, 66%, 52%)
CMYKcmyk(0%, 6.1%, 65.9%, 48.2%)
CIE-LABlab(51.28, -7.20, 42.78)
CIE-LCHlch(51.28, 43.38, 99.55°)
OKLaboklab(57.75% -0.0234 0.0971)
OKLCHoklch(57.75% 0.1 103.5)
XYZxyz(17.1977, 19.5110, 5.3422)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847C2D #2D3584
analogous
#84512D #847C2D #61842D
triadic
#847C2D #2D847C #7C2D84
tetradic
#847C2D #2D8451 #2D3584 #842D61
square
#847C2D #2D8451 #2D3584 #842D61
split-complementary
#847C2D #2D6184 #512D84
monochromatic
#29260E #56511D #847C2D #B2A73D #C9C062

Accessibility & contrast

On white

4.28
#847C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#847C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847C2D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847C2D#FFFFFF#000000##000000
##847C2D1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#8E746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #847c2d;
/* rgb */ color: rgb(132, 124, 45);
/* oklch */ color: oklch(57.8% 0.100 103.5);
Tailwind
colors: {
  custom: {
    50: '#aaa16a',
    500: '#847c2d',
    950: '#000000',
  },
}
SCSS
$custom: #847c2d;
$custom-light: #aaa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#847c2d",
  "rgb": {
    "r": 132,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 54.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.0999,
    "h": 103.5
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#847C2D
secondary
#5D65B0
accent
#5CD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #847C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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