#847F1B#847F1B

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

Color values

HEX#847F1B
RGBrgb(132, 127, 27)
HSLhsl(57, 66%, 31%)
HSVhsv(57, 80%, 52%)
CMYKcmyk(0%, 3.8%, 79.5%, 48.2%)
CIE-LABlab(52.02, -9.82, 50.70)
CIE-LCHlch(52.02, 51.64, 100.96°)
OKLaboklab(58.3% -0.0327 0.1105)
OKLCHoklch(58.3% 0.115 106.5)
XYZxyz(17.3036, 20.1640, 4.0173)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847F1B #1B2084
analogous
#844A1B #847F1B #54841B
triadic
#847F1B #1B847F #7F1B84
tetradic
#847F1B #1B844A #1B2084 #841B54
square
#847F1B #1B844A #1B2084 #841B54
split-complementary
#847F1B #1B5484 #4A1B84
monochromatic
#1E1D06 #514E11 #847F1B #B7B025 #D8D141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##847F1B#FFFFFF#000000##000000
##847F1B1.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)
#8B7A01
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#8E766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #847f1b;
/* rgb */ color: rgb(132, 127, 27);
/* oklch */ color: oklch(58.3% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#aba361',
    500: '#847f1b',
    950: '#000000',
  },
}
SCSS
$custom: #847f1b;
$custom-light: #aba361;
$custom-dark: #000000;
JSON
{
  "hex": "#847f1b",
  "rgb": {
    "r": 132,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 57.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58304,
    "c": 0.11526,
    "h": 106.5
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#847F1B
secondary
#4349B7
accent
#47E93F
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #847F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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