#847F2A#847F2A

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

Color values

HEX#847F2A
RGBrgb(132, 127, 42)
HSLhsl(57, 52%, 34%)
HSVhsv(57, 68%, 52%)
CMYKcmyk(0%, 3.8%, 68.2%, 48.2%)
CIE-LABlab(52.12, -9.05, 45.00)
CIE-LCHlch(52.12, 45.90, 101.37°)
OKLaboklab(58.41% -0.029 0.1013)
OKLCHoklch(58.41% 0.105 106)
XYZxyz(17.5237, 20.2521, 5.1760)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F2A #2A2F84
analogous
#84522A #847F2A #5C842A
triadic
#847F2A #2A847F #7F2A84
tetradic
#847F2A #2A8452 #2A2F84 #842A5C
square
#847F2A #2A8452 #2A2F84 #842A5C
split-complementary
#847F2A #2A5C84 #522A84
monochromatic
#27260C #56521B #847F2A #B2AC39 #CBC55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##847F2A#FFFFFF#000000##000000
##847F2A1.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)
#8A7A1E
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#8E776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f2a;
/* rgb */ color: rgb(132, 127, 42);
/* oklch */ color: oklch(58.4% 0.105 106.0);
Tailwind
colors: {
  custom: {
    50: '#aaa369',
    500: '#847f2a',
    950: '#000000',
  },
}
SCSS
$custom: #847f2a;
$custom-light: #aaa369;
$custom-dark: #000000;
JSON
{
  "hex": "#847f2a",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 56.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.10537,
    "h": 106
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#847F2A
secondary
#595EB1
accent
#55DB4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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