#847F1D#847F1D

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

Color values

HEX#847F1D
RGBrgb(132, 127, 29)
HSLhsl(57, 64%, 32%)
HSVhsv(57, 78%, 52%)
CMYKcmyk(0%, 3.8%, 78%, 48.2%)
CIE-LABlab(52.03, -9.73, 50.03)
CIE-LCHlch(52.03, 50.97, 101.01°)
OKLaboklab(58.32% -0.0323 0.1095)
OKLCHoklch(58.32% 0.114 106.4)
XYZxyz(17.3276, 20.1736, 4.1433)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F1D #1D2284
analogous
#844C1D #847F1D #56841D
triadic
#847F1D #1D847F #7F1D84
tetradic
#847F1D #1D844C #1D2284 #841D56
square
#847F1D #1D844C #1D2284 #841D56
split-complementary
#847F1D #1D5684 #4C1D84
monochromatic
#201E07 #524F12 #847F1D #B6AF28 #D6CF45

Accessibility & contrast

On white

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

On black

5.03
#847F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847F1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847F1D#FFFFFF#000000##000000
##847F1D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f1d;
/* rgb */ color: rgb(132, 127, 29);
/* oklch */ color: oklch(58.3% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#aba362',
    500: '#847f1d',
    950: '#000000',
  },
}
SCSS
$custom: #847f1d;
$custom-light: #aba362;
$custom-dark: #000000;
JSON
{
  "hex": "#847f1d",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 57.087,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.11415,
    "h": 106.4
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#847F1D
secondary
#464BB7
accent
#49E741
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #847F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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