#847A42#847A42

#847A42 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.077 H 99.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#847A42
RGBrgb(132, 122, 66)
HSLhsl(51, 33%, 39%)
HSVhsv(51, 50%, 52%)
CMYKcmyk(0%, 7.6%, 50%, 48.2%)
CIE-LABlab(50.94, -4.32, 31.85)
CIE-LCHlch(50.94, 32.14, 97.72°)
OKLaboklab(57.56% -0.0126 0.0761)
OKLCHoklch(57.56% 0.077 99.4)
XYZxyz(17.4591, 19.2186, 7.9431)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847A42 #424C84
analogous
#845942 #847A42 #6D8442
triadic
#847A42 #42847A #7A4284
tetradic
#847A42 #428459 #424C84 #84426D
square
#847A42 #428459 #424C84 #84426D
split-complementary
#847A42 #426D84 #594284
monochromatic
#322F19 #5B542E #847A42 #AB9F58 #C0B681

Accessibility & contrast

On white

4.34
#847A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#847A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847A42
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847A42#FFFFFF#000000##000000
##847A421.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83773D
Deuteranopia (green-blind)
#867B44
Tritanopia (blue-blind)
#8D736D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #847a42;
/* rgb */ color: rgb(132, 122, 66);
/* oklch */ color: oklch(57.6% 0.077 99.4);
Tailwind
colors: {
  custom: {
    50: '#a9a078',
    500: '#847a42',
    950: '#000000',
  },
}
SCSS
$custom: #847a42;
$custom-light: #a9a078;
$custom-dark: #000000;
JSON
{
  "hex": "#847a42",
  "rgb": {
    "r": 132,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 50.909,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.07713,
    "h": 99.4
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#847A42
secondary
#777FAB
accent
#6FC95E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #847A42

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

Preview Lab → · Contrast checker → · Palette generator →

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