#847D52#847D52

#847D52 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.061 H 100.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#847D52
RGBrgb(132, 125, 82)
HSLhsl(52, 23%, 42%)
HSVhsv(52, 38%, 52%)
CMYKcmyk(0%, 5.3%, 37.9%, 48.2%)
CIE-LABlab(52.04, -4.19, 24.43)
CIE-LCHlch(52.04, 24.78, 99.73°)
OKLaboklab(58.51% -0.0107 0.0603)
OKLCHoklch(58.51% 0.061 100.1)
XYZxyz(18.3726, 20.1825, 10.9088)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847D52 #525984
analogous
#846452 #847D52 #728452
triadic
#847D52 #52847D #7D5284
tetradic
#847D52 #528464 #525984 #845272
square
#847D52 #528464 #525984 #845272
split-complementary
#847D52 #527284 #645284
monochromatic
#393623 #5E593B #847D52 #A59D6E #BCB794

Accessibility & contrast

On white

4.17
#847D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#847D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847D52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847D52#FFFFFF#000000##000000
##847D521.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4F
Deuteranopia (green-blind)
#877D54
Tritanopia (blue-blind)
#8B7772
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847d52;
/* rgb */ color: rgb(132, 125, 82);
/* oklch */ color: oklch(58.5% 0.061 100.1);
Tailwind
colors: {
  custom: {
    50: '#a8a283',
    500: '#847d52',
    950: '#000000',
  },
}
SCSS
$custom: #847d52;
$custom-light: #a8a283;
$custom-dark: #000000;
JSON
{
  "hex": "#847d52",
  "rgb": {
    "r": 132,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 51.6,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.0612,
    "h": 100.1
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#847D52
secondary
#888DAA
accent
#74C068
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #847D52

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

Preview Lab → · Contrast checker → · Palette generator →

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