#847F2F#847F2F

#847F2F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.101 H 105.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#847F2F
RGBrgb(132, 127, 47)
HSLhsl(56, 47%, 35%)
HSVhsv(56, 64%, 52%)
CMYKcmyk(0%, 3.8%, 64.4%, 48.2%)
CIE-LABlab(52.16, -8.72, 42.81)
CIE-LCHlch(52.16, 43.69, 101.51°)
OKLaboklab(58.46% -0.0274 0.0975)
OKLCHoklch(58.46% 0.101 105.7)
XYZxyz(17.6188, 20.2901, 5.6771)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F2F #2F3484
analogous
#84552F #847F2F #5E842F
triadic
#847F2F #2F847F #7F2F84
tetradic
#847F2F #2F8455 #2F3484 #842F5E
square
#847F2F #2F8455 #2F3484 #842F5E
split-complementary
#847F2F #2F5E84 #552F84
monochromatic
#2A280F #57541F #847F2F #B1AA3F #C8C265

Accessibility & contrast

On white

4.15
#847F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#847F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F2F#FFFFFF#000000##000000
##847F2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A25
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f2f;
/* rgb */ color: rgb(132, 127, 47);
/* oklch */ color: oklch(58.5% 0.101 105.7);
Tailwind
colors: {
  custom: {
    50: '#aaa36b',
    500: '#847f2f',
    950: '#000000',
  },
}
SCSS
$custom: #847f2f;
$custom-light: #aaa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#847f2f",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 56.471,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.10129,
    "h": 105.7
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#847F2F
secondary
#6064AF
accent
#59D751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #847F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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