#8D7B22#8D7B22

#8D7B22 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.107 H 97.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D7B22
RGBrgb(141, 123, 34)
HSLhsl(50, 61%, 34%)
HSVhsv(50, 76%, 55%)
CMYKcmyk(0%, 12.8%, 75.9%, 44.7%)
CIE-LABlab(51.78, -3.12, 48.24)
CIE-LCHlch(51.78, 48.34, 93.70°)
OKLaboklab(58.32% -0.0136 0.1063)
OKLCHoklch(58.32% 0.107 97.3)
XYZxyz(18.3571, 19.9451, 4.3959)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B22 #22348D
analogous
#8D4622 #8D7B22 #6A8D22
triadic
#8D7B22 #228D7B #7B228D
tetradic
#8D7B22 #228D46 #22348D #8D226A
square
#8D7B22 #228D46 #22348D #8D226A
split-complementary
#8D7B22 #226A8D #46228D
monochromatic
#2A250A #5C5016 #8D7B22 #BEA62E #D6C054

Accessibility & contrast

On white

4.21
#8D7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D7B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B22
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B22#FFFFFF#000000##000000
##8D7B221.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)
#887812
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#99716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b22;
/* rgb */ color: rgb(141, 123, 34);
/* oklch */ color: oklch(58.3% 0.107 97.3);
Tailwind
colors: {
  custom: {
    50: '#b2a064',
    500: '#8d7b22',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b22;
$custom-light: #b2a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b22",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 49.907,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.1072,
    "h": 97.3
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#8D7B22
secondary
#5163B9
accent
#5FE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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