#847B2A#847B2A

#847B2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.101 H 102.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#847B2A
RGBrgb(132, 123, 42)
HSLhsl(54, 52%, 34%)
HSVhsv(54, 68%, 52%)
CMYKcmyk(0%, 6.8%, 68.2%, 48.2%)
CIE-LABlab(50.97, -6.84, 43.80)
CIE-LCHlch(50.97, 44.33, 98.87°)
OKLaboklab(57.5% -0.0227 0.0988)
OKLCHoklch(57.5% 0.101 102.9)
XYZxyz(17.0173, 19.2393, 5.0072)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847B2A #2A3384
analogous
#844E2A #847B2A #60842A
triadic
#847B2A #2A847B #7B2A84
tetradic
#847B2A #2A844E #2A3384 #842A60
square
#847B2A #2A844E #2A3384 #842A60
split-complementary
#847B2A #2A6084 #4E2A84
monochromatic
#27240C #56501B #847B2A #B2A639 #CBC05D

Accessibility & contrast

On white

4.33
#847B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#847B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847B2A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847B2A#FFFFFF#000000##000000
##847B2A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#8E726A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #847b2a;
/* rgb */ color: rgb(132, 123, 42);
/* oklch */ color: oklch(57.5% 0.101 102.9);
Tailwind
colors: {
  custom: {
    50: '#aaa068',
    500: '#847b2a',
    950: '#000000',
  },
}
SCSS
$custom: #847b2a;
$custom-light: #aaa068;
$custom-dark: #000000;
JSON
{
  "hex": "#847b2a",
  "rgb": {
    "r": 132,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 54,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.10137,
    "h": 102.9
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#847B2A
secondary
#5962B1
accent
#5BDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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