#847C2F#847C2F

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

Color values

HEX#847C2F
RGBrgb(132, 124, 47)
HSLhsl(54, 47%, 35%)
HSVhsv(54, 64%, 52%)
CMYKcmyk(0%, 6.1%, 64.4%, 48.2%)
CIE-LABlab(51.30, -7.06, 41.88)
CIE-LCHlch(51.30, 42.47, 99.57°)
OKLaboklab(57.77% -0.0227 0.0955)
OKLCHoklch(57.77% 0.098 103.4)
XYZxyz(17.2371, 19.5267, 5.5498)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847C2F #2F3784
analogous
#84512F #847C2F #61842F
triadic
#847C2F #2F847C #7C2F84
tetradic
#847C2F #2F8451 #2F3784 #842F61
square
#847C2F #2F8451 #2F3784 #842F61
split-complementary
#847C2F #2F6184 #512F84
monochromatic
#2A270F #57521F #847C2F #B1A63F #C8BF65

Accessibility & contrast

On white

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

On black

4.91
#847C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847C2F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847C2F#FFFFFF#000000##000000
##847C2F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#8E746C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #847c2f;
/* rgb */ color: rgb(132, 124, 47);
/* oklch */ color: oklch(57.8% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#aaa16b',
    500: '#847c2f',
    950: '#000000',
  },
}
SCSS
$custom: #847c2f;
$custom-light: #aaa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#847c2f",
  "rgb": {
    "r": 132,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 54.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.09819,
    "h": 103.4
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#847C2F
secondary
#6067AF
accent
#5DD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #847C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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