#847E1C#847E1C

#847E1C is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.114 H 105.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#847E1C
RGBrgb(132, 126, 28)
HSLhsl(57, 65%, 31%)
HSVhsv(57, 79%, 52%)
CMYKcmyk(0%, 4.5%, 78.8%, 48.2%)
CIE-LABlab(51.74, -9.23, 50.10)
CIE-LCHlch(51.74, 50.94, 100.44°)
OKLaboklab(58.08% -0.031 0.1095)
OKLCHoklch(58.08% 0.114 105.8)
XYZxyz(17.1869, 19.9117, 4.0364)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E1C #1C2284
analogous
#844A1C #847E1C #56841C
triadic
#847E1C #1C847E #7E1C84
tetradic
#847E1C #1C844A #1C2284 #841C56
square
#847E1C #1C844A #1C2284 #841C56
split-complementary
#847E1C #1C5684 #4A1C84
monochromatic
#1F1E07 #524E11 #847E1C #B6AE27 #D7CF43

Accessibility & contrast

On white

4.22
#847E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#847E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E1C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E1C#FFFFFF#000000##000000
##847E1C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7904
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e1c;
/* rgb */ color: rgb(132, 126, 28);
/* oklch */ color: oklch(58.1% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#aba361',
    500: '#847e1c',
    950: '#000000',
  },
}
SCSS
$custom: #847e1c;
$custom-light: #aba361;
$custom-dark: #000000;
JSON
{
  "hex": "#847e1c",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 56.538,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.11374,
    "h": 105.8
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#847E1C
secondary
#454BB7
accent
#4AE840
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #847E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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