#847B2F#847B2F

#847B2F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.097 H 102.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#847B2F
RGBrgb(132, 123, 47)
HSLhsl(54, 47%, 35%)
HSVhsv(54, 64%, 52%)
CMYKcmyk(0%, 6.8%, 64.4%, 48.2%)
CIE-LABlab(51.01, -6.50, 41.57)
CIE-LCHlch(51.01, 42.07, 98.89°)
OKLaboklab(57.54% -0.0211 0.0949)
OKLCHoklch(57.54% 0.097 102.6)
XYZxyz(17.1124, 19.2774, 5.5083)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847B2F #2F3884
analogous
#84502F #847B2F #62842F
triadic
#847B2F #2F847B #7B2F84
tetradic
#847B2F #2F8450 #2F3884 #842F62
square
#847B2F #2F8450 #2F3884 #842F62
split-complementary
#847B2F #2F6284 #502F84
monochromatic
#2A270F #57511F #847B2F #B1A53F #C8BE65

Accessibility & contrast

On white

4.33
#847B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#847B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847B2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847B2F#FFFFFF#000000##000000
##847B2F1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867726
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#8E736B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #847b2f;
/* rgb */ color: rgb(132, 123, 47);
/* oklch */ color: oklch(57.5% 0.097 102.6);
Tailwind
colors: {
  custom: {
    50: '#aaa06b',
    500: '#847b2f',
    950: '#000000',
  },
}
SCSS
$custom: #847b2f;
$custom-light: #aaa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#847b2f",
  "rgb": {
    "r": 132,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 53.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.0972,
    "h": 102.6
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#847B2F
secondary
#6068AF
accent
#5FD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #847B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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