#8D7822#8D7822

#8D7822 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.105 H 94.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D7822
RGBrgb(141, 120, 34)
HSLhsl(48, 61%, 34%)
HSVhsv(48, 76%, 55%)
CMYKcmyk(0%, 14.9%, 75.9%, 44.7%)
CIE-LABlab(50.93, -1.43, 47.43)
CIE-LCHlch(50.93, 47.46, 91.73°)
OKLaboklab(57.66% -0.0088 0.1046)
OKLCHoklch(57.66% 0.105 94.8)
XYZxyz(17.9907, 19.2122, 4.2738)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7822 #22378D
analogous
#8D4222 #8D7822 #6D8D22
triadic
#8D7822 #228D78 #78228D
tetradic
#8D7822 #228D42 #22378D #8D226D
square
#8D7822 #228D42 #22378D #8D226D
split-complementary
#8D7822 #226D8D #42228D
monochromatic
#2A240A #5C4E16 #8D7822 #BEA22E #D6BC54

Accessibility & contrast

On white

4.34
#8D7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7822
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7822#FFFFFF#000000##000000
##8D78221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#996E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d7822;
/* rgb */ color: rgb(141, 120, 34);
/* oklch */ color: oklch(57.7% 0.105 94.8);
Tailwind
colors: {
  custom: {
    50: '#b29e64',
    500: '#8d7822',
    950: '#000000',
  },
}
SCSS
$custom: #8d7822;
$custom-light: #b29e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7822",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 48.224,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.10498,
    "h": 94.8
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#8D7822
secondary
#5166B9
accent
#63E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7822

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva