#847F2B#847F2B

#847F2B is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.105 H 105.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#847F2B
RGBrgb(132, 127, 43)
HSLhsl(57, 51%, 34%)
HSVhsv(57, 67%, 52%)
CMYKcmyk(0%, 3.8%, 67.4%, 48.2%)
CIE-LABlab(52.13, -8.99, 44.57)
CIE-LCHlch(52.13, 45.47, 101.40°)
OKLaboklab(58.42% -0.0287 0.1006)
OKLCHoklch(58.42% 0.105 105.9)
XYZxyz(17.5418, 20.2593, 5.2714)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F2B #2B3084
analogous
#84532B #847F2B #5D842B
triadic
#847F2B #2B847F #7F2B84
tetradic
#847F2B #2B8453 #2B3084 #842B5D
square
#847F2B #2B8453 #2B3084 #842B5D
split-complementary
#847F2B #2B5D84 #532B84
monochromatic
#28260D #56531C #847F2B #B2AB3A #CBC55F

Accessibility & contrast

On white

4.16
#847F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#847F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F2B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F2B#FFFFFF#000000##000000
##847F2B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#8E776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f2b;
/* rgb */ color: rgb(132, 127, 43);
/* oklch */ color: oklch(58.4% 0.105 105.9);
Tailwind
colors: {
  custom: {
    50: '#aaa369',
    500: '#847f2b',
    950: '#000000',
  },
}
SCSS
$custom: #847f2b;
$custom-light: #aaa369;
$custom-dark: #000000;
JSON
{
  "hex": "#847f2b",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 56.629,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.10459,
    "h": 105.9
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#847F2B
secondary
#5A5FB1
accent
#55DA4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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