#8D7922#8D7922

#8D7922 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.106 H 95.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D7922
RGBrgb(141, 121, 34)
HSLhsl(49, 61%, 34%)
HSVhsv(49, 76%, 55%)
CMYKcmyk(0%, 14.2%, 75.9%, 44.7%)
CIE-LABlab(51.21, -1.99, 47.70)
CIE-LCHlch(51.21, 47.75, 92.39°)
OKLaboklab(57.88% -0.0104 0.1052)
OKLCHoklch(57.88% 0.106 95.7)
XYZxyz(18.1116, 19.4539, 4.3141)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7922 #22368D
analogous
#8D4422 #8D7922 #6C8D22
triadic
#8D7922 #228D79 #79228D
tetradic
#8D7922 #228D44 #22368D #8D226C
square
#8D7922 #228D44 #22368D #8D226C
split-complementary
#8D7922 #226C8D #44228D
monochromatic
#2A240A #5C4F16 #8D7922 #BEA32E #D6BD54

Accessibility & contrast

On white

4.29
#8D7922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7922
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7922#FFFFFF#000000##000000
##8D79221.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#996F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7922;
/* rgb */ color: rgb(141, 121, 34);
/* oklch */ color: oklch(57.9% 0.106 95.7);
Tailwind
colors: {
  custom: {
    50: '#b29f64',
    500: '#8d7922',
    950: '#000000',
  },
}
SCSS
$custom: #8d7922;
$custom-light: #b29f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7922",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 48.785,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.10569,
    "h": 95.7
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#8D7922
secondary
#5165B9
accent
#62E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7922

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

Preview Lab → · Contrast checker → · Palette generator →

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