#847D2F#847D2F

#847D2F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.099 H 104.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#847D2F
RGBrgb(132, 125, 47)
HSLhsl(55, 47%, 35%)
HSVhsv(55, 64%, 52%)
CMYKcmyk(0%, 5.3%, 64.4%, 48.2%)
CIE-LABlab(51.59, -7.61, 42.19)
CIE-LCHlch(51.59, 42.87, 100.23°)
OKLaboklab(58% -0.0243 0.0962)
OKLCHoklch(58% 0.099 104.2)
XYZxyz(17.3631, 19.7786, 5.5918)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D2F #2F3684
analogous
#84532F #847D2F #60842F
triadic
#847D2F #2F847D #7D2F84
tetradic
#847D2F #2F8453 #2F3684 #842F60
square
#847D2F #2F8453 #2F3684 #842F60
split-complementary
#847D2F #2F6084 #532F84
monochromatic
#2A280F #57521F #847D2F #B1A83F #C8C065

Accessibility & contrast

On white

4.24
#847D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#847D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D2F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D2F#FFFFFF#000000##000000
##847D2F1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#8E756D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d2f;
/* rgb */ color: rgb(132, 125, 47);
/* oklch */ color: oklch(58.0% 0.099 104.2);
Tailwind
colors: {
  custom: {
    50: '#aaa26b',
    500: '#847d2f',
    950: '#000000',
  },
}
SCSS
$custom: #847d2f;
$custom-light: #aaa26b;
$custom-dark: #000000;
JSON
{
  "hex": "#847d2f",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 55.059,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.09921,
    "h": 104.2
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#847D2F
secondary
#6066AF
accent
#5CD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #847D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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