#847E22#847E22

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

Color values

HEX#847E22
RGBrgb(132, 126, 34)
HSLhsl(56, 59%, 33%)
HSVhsv(56, 74%, 52%)
CMYKcmyk(0%, 4.5%, 74.2%, 48.2%)
CIE-LABlab(51.77, -8.95, 47.94)
CIE-LCHlch(51.77, 48.77, 100.58°)
OKLaboklab(58.12% -0.0296 0.1061)
OKLCHoklch(58.12% 0.11 105.6)
XYZxyz(17.2660, 19.9434, 4.4530)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847E22 #222884
analogous
#844D22 #847E22 #598422
triadic
#847E22 #22847E #7E2284
tetradic
#847E22 #22844D #222884 #842259
square
#847E22 #22844D #222884 #842259
split-complementary
#847E22 #225984 #4D2284
monochromatic
#232109 #535015 #847E22 #B5AC2F #D2CA4F

Accessibility & contrast

On white

4.21
#847E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##847E22#FFFFFF#000000##000000
##847E221.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #847e22;
/* rgb */ color: rgb(132, 126, 34);
/* oklch */ color: oklch(58.1% 0.110 105.6);
Tailwind
colors: {
  custom: {
    50: '#aba364',
    500: '#847e22',
    950: '#000000',
  },
}
SCSS
$custom: #847e22;
$custom-light: #aba364;
$custom-dark: #000000;
JSON
{
  "hex": "#847e22",
  "rgb": {
    "r": 132,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 56.327,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.11011,
    "h": 105.6
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#847E22
secondary
#4D53B5
accent
#4FE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #847E22

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

Preview Lab → · Contrast checker → · Palette generator →

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