#847F20#847F20

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

Color values

HEX#847F20
RGBrgb(132, 127, 32)
HSLhsl(57, 61%, 32%)
HSVhsv(57, 76%, 52%)
CMYKcmyk(0%, 3.8%, 75.8%, 48.2%)
CIE-LABlab(52.05, -9.60, 48.97)
CIE-LCHlch(52.05, 49.90, 101.09°)
OKLaboklab(58.34% -0.0316 0.1078)
OKLCHoklch(58.34% 0.112 106.3)
XYZxyz(17.3665, 20.1892, 4.3483)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F20 #202584
analogous
#844D20 #847F20 #578420
triadic
#847F20 #20847F #7F2084
tetradic
#847F20 #20844D #202584 #842057
square
#847F20 #20844D #202584 #842057
split-complementary
#847F20 #205784 #4D2084
monochromatic
#212008 #535014 #847F20 #B5AE2C #D3CD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##847F20#FFFFFF#000000##000000
##847F201.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)
#8A7A0D
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f20;
/* rgb */ color: rgb(132, 127, 32);
/* oklch */ color: oklch(58.3% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#aba363',
    500: '#847f20',
    950: '#000000',
  },
}
SCSS
$custom: #847f20;
$custom-light: #aba363;
$custom-dark: #000000;
JSON
{
  "hex": "#847f20",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 57,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.11236,
    "h": 106.3
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#847F20
secondary
#4A4FB6
accent
#4CE444
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #847F20

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

Preview Lab → · Contrast checker → · Palette generator →

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