#847840#847840

#847840 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.077 H 97.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#847840
RGBrgb(132, 120, 64)
HSLhsl(49, 35%, 38%)
HSVhsv(49, 52%, 52%)
CMYKcmyk(0%, 9.1%, 51.5%, 48.2%)
CIE-LABlab(50.35, -3.39, 32.20)
CIE-LCHlch(50.35, 32.38, 96.01°)
OKLaboklab(57.08% -0.0101 0.0767)
OKLCHoklch(57.08% 0.077 97.5)
XYZxyz(17.1581, 18.7093, 7.5569)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847840 #404C84
analogous
#845640 #847840 #6E8440
triadic
#847840 #408478 #784084
tetradic
#847840 #408456 #404C84 #84406E
square
#847840 #408456 #404C84 #84406E
split-complementary
#847840 #406E84 #564084
monochromatic
#322D18 #5B532C #847840 #AC9D55 #C0B57E

Accessibility & contrast

On white

4.43
#847840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#847840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847840
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847840#FFFFFF#000000##000000
##8478401.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#857A42
Tritanopia (blue-blind)
#8D716B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #847840;
/* rgb */ color: rgb(132, 120, 64);
/* oklch */ color: oklch(57.1% 0.077 97.5);
Tailwind
colors: {
  custom: {
    50: '#a99e76',
    500: '#847840',
    950: '#000000',
  },
}
SCSS
$custom: #847840;
$custom-light: #a99e76;
$custom-dark: #000000;
JSON
{
  "hex": "#847840",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 49.412,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.07737,
    "h": 97.5
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#847840
secondary
#757EAB
accent
#70CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #847840

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

Preview Lab → · Contrast checker → · Palette generator →

#847840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva