#847822#847822

#847822 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.104 H 101.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#847822
RGBrgb(132, 120, 34)
HSLhsl(53, 59%, 33%)
HSVhsv(53, 74%, 52%)
CMYKcmyk(0%, 9.1%, 74.2%, 48.2%)
CIE-LABlab(50.04, -5.62, 46.26)
CIE-LCHlch(50.04, 46.61, 96.93°)
OKLaboklab(56.74% -0.0202 0.1025)
OKLCHoklch(56.74% 0.104 101.1)
XYZxyz(16.5217, 18.4547, 4.2049)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847822 #222E84
analogous
#844722 #847822 #5F8422
triadic
#847822 #228478 #782284
tetradic
#847822 #228447 #222E84 #84225F
square
#847822 #228447 #222E84 #84225F
split-complementary
#847822 #225F84 #472284
monochromatic
#232009 #534C15 #847822 #B5A42F #D2C24F

Accessibility & contrast

On white

4.48
#847822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#847822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847822
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847822#FFFFFF#000000##000000
##8478221.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#8E6F67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #847822;
/* rgb */ color: rgb(132, 120, 34);
/* oklch */ color: oklch(56.7% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#ab9e63',
    500: '#847822',
    950: '#000000',
  },
}
SCSS
$custom: #847822;
$custom-light: #ab9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#847822",
  "rgb": {
    "r": 132,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 52.653,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.10448,
    "h": 101.1
  },
  "luminance": 0.18454
}

Semantic roles & 50–950 ramp

primary
#847822
secondary
#4D5AB5
accent
#59E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #847822

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

Preview Lab → · Contrast checker → · Palette generator →

#847822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva