#847D2C#847D2C

#847D2C is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.102 H 104.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#847D2C
RGBrgb(132, 125, 44)
HSLhsl(55, 50%, 35%)
HSVhsv(55, 67%, 52%)
CMYKcmyk(0%, 5.3%, 66.7%, 48.2%)
CIE-LABlab(51.56, -7.82, 43.53)
CIE-LCHlch(51.56, 44.23, 100.18°)
OKLaboklab(57.97% -0.0253 0.0986)
OKLCHoklch(57.97% 0.102 104.4)
XYZxyz(17.3046, 19.7553, 5.2840)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D2C #2C3384
analogous
#84512C #847D2C #5F842C
triadic
#847D2C #2C847D #7D2C84
tetradic
#847D2C #2C8451 #2C3384 #842C5F
square
#847D2C #2C8451 #2C3384 #842C5F
split-complementary
#847D2C #2C5F84 #512C84
monochromatic
#28260D #56521D #847D2C #B2A83B #CAC260

Accessibility & contrast

On white

4.24
#847D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#847D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D2C#FFFFFF#000000##000000
##847D2C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847d2c;
/* rgb */ color: rgb(132, 125, 44);
/* oklch */ color: oklch(58.0% 0.102 104.4);
Tailwind
colors: {
  custom: {
    50: '#aaa26a',
    500: '#847d2c',
    950: '#000000',
  },
}
SCSS
$custom: #847d2c;
$custom-light: #aaa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#847d2c",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 55.227,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.10173,
    "h": 104.4
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#847D2C
secondary
#5C62B0
accent
#59DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #847D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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