#847C2A#847C2A

#847C2A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.102 H 103.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#847C2A
RGBrgb(132, 124, 42)
HSLhsl(55, 52%, 34%)
HSVhsv(55, 68%, 52%)
CMYKcmyk(0%, 6.1%, 68.2%, 48.2%)
CIE-LABlab(51.25, -7.39, 44.10)
CIE-LCHlch(51.25, 44.72, 99.52°)
OKLaboklab(57.72% -0.0243 0.0994)
OKLCHoklch(57.72% 0.102 103.7)
XYZxyz(17.1420, 19.4887, 5.0488)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847C2A #2A3284
analogous
#844F2A #847C2A #5F842A
triadic
#847C2A #2A847C #7C2A84
tetradic
#847C2A #2A844F #2A3284 #842A5F
square
#847C2A #2A844F #2A3284 #842A5F
split-complementary
#847C2A #2A5F84 #4F2A84
monochromatic
#27250C #56501B #847C2A #B2A839 #CBC25D

Accessibility & contrast

On white

4.29
#847C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#847C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847C2A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847C2A#FFFFFF#000000##000000
##847C2A1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#8E736B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #847c2a;
/* rgb */ color: rgb(132, 124, 42);
/* oklch */ color: oklch(57.7% 0.102 103.7);
Tailwind
colors: {
  custom: {
    50: '#aaa168',
    500: '#847c2a',
    950: '#000000',
  },
}
SCSS
$custom: #847c2a;
$custom-light: #aaa168;
$custom-dark: #000000;
JSON
{
  "hex": "#847c2a",
  "rgb": {
    "r": 132,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 54.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.10234,
    "h": 103.7
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#847C2A
secondary
#5961B1
accent
#59DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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