#847A22#847A22

#847A22 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.106 H 102.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#847A22
RGBrgb(132, 122, 34)
HSLhsl(54, 59%, 33%)
HSVhsv(54, 74%, 52%)
CMYKcmyk(0%, 7.6%, 74.2%, 48.2%)
CIE-LABlab(50.62, -6.74, 46.82)
CIE-LCHlch(50.62, 47.31, 98.19°)
OKLaboklab(57.2% -0.0233 0.1037)
OKLCHoklch(57.2% 0.106 102.7)
XYZxyz(16.7647, 18.9408, 4.2859)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847A22 #222C84
analogous
#844922 #847A22 #5D8422
triadic
#847A22 #22847A #7A2284
tetradic
#847A22 #228449 #222C84 #84225D
square
#847A22 #228449 #222C84 #84225D
split-complementary
#847A22 #225D84 #492284
monochromatic
#232009 #534D15 #847A22 #B5A72F #D2C44F

Accessibility & contrast

On white

4.39
#847A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#847A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847A22
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847A22#FFFFFF#000000##000000
##847A221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#8E7169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #847a22;
/* rgb */ color: rgb(132, 122, 34);
/* oklch */ color: oklch(57.2% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#aba064',
    500: '#847a22',
    950: '#000000',
  },
}
SCSS
$custom: #847a22;
$custom-light: #aba064;
$custom-dark: #000000;
JSON
{
  "hex": "#847a22",
  "rgb": {
    "r": 132,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 53.878,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.10628,
    "h": 102.7
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#847A22
secondary
#4D57B5
accent
#56E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847A22

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

Preview Lab → · Contrast checker → · Palette generator →

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