#847E2F#847E2F

#847E2F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.100 H 105.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#847E2F
RGBrgb(132, 126, 47)
HSLhsl(56, 47%, 35%)
HSVhsv(56, 64%, 52%)
CMYKcmyk(0%, 4.5%, 64.4%, 48.2%)
CIE-LABlab(51.87, -8.17, 42.50)
CIE-LCHlch(51.87, 43.27, 100.88°)
OKLaboklab(58.23% -0.0259 0.0968)
OKLCHoklch(58.23% 0.1 105)
XYZxyz(17.4903, 20.0331, 5.6342)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E2F #2F3584
analogous
#84542F #847E2F #5F842F
triadic
#847E2F #2F847E #7E2F84
tetradic
#847E2F #2F8454 #2F3584 #842F5F
square
#847E2F #2F8454 #2F3584 #842F5F
split-complementary
#847E2F #2F5F84 #542F84
monochromatic
#2A280F #57531F #847E2F #B1A93F #C8C165

Accessibility & contrast

On white

4.19
#847E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#847E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E2F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E2F#FFFFFF#000000##000000
##847E2F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847e2f;
/* rgb */ color: rgb(132, 126, 47);
/* oklch */ color: oklch(58.2% 0.100 105.0);
Tailwind
colors: {
  custom: {
    50: '#aaa36b',
    500: '#847e2f',
    950: '#000000',
  },
}
SCSS
$custom: #847e2f;
$custom-light: #aaa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#847e2f",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 55.765,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.10024,
    "h": 105
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#847E2F
secondary
#6065AF
accent
#5AD751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #847E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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