#847E27#847E27

#847E27 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.107 H 105.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#847E27
RGBrgb(132, 126, 39)
HSLhsl(56, 54%, 34%)
HSVhsv(56, 70%, 52%)
CMYKcmyk(0%, 4.5%, 70.5%, 48.2%)
CIE-LABlab(51.81, -8.68, 45.96)
CIE-LCHlch(51.81, 46.77, 100.69°)
OKLaboklab(58.16% -0.0283 0.1028)
OKLCHoklch(58.16% 0.107 105.4)
XYZxyz(17.3435, 19.9744, 4.8609)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E27 #272D84
analogous
#844F27 #847E27 #5B8427
triadic
#847E27 #27847E #7E2784
tetradic
#847E27 #27844F #272D84 #84275B
square
#847E27 #27844F #272D84 #84275B
split-complementary
#847E27 #275B84 #4F2784
monochromatic
#26240B #555119 #847E27 #B3AB35 #CEC658

Accessibility & contrast

On white

4.20
#847E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#847E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847E27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847E27#FFFFFF#000000##000000
##847E271.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791A
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#8E756D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #847e27;
/* rgb */ color: rgb(132, 126, 39);
/* oklch */ color: oklch(58.2% 0.107 105.4);
Tailwind
colors: {
  custom: {
    50: '#aba367',
    500: '#847e27',
    950: '#000000',
  },
}
SCSS
$custom: #847e27;
$custom-light: #aba367;
$custom-dark: #000000;
JSON
{
  "hex": "#847e27",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 56.129,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.10663,
    "h": 105.4
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#847E27
secondary
#545AB2
accent
#54DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847E27

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

Preview Lab → · Contrast checker → · Palette generator →

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