#8D7F22#8D7F22

#8D7F22 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.110 H 100.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7F22
RGBrgb(141, 127, 34)
HSLhsl(52, 61%, 34%)
HSVhsv(52, 76%, 55%)
CMYKcmyk(0%, 9.9%, 75.9%, 44.7%)
CIE-LABlab(52.90, -5.35, 49.32)
CIE-LCHlch(52.90, 49.61, 96.19°)
OKLaboklab(59.22% -0.0199 0.1086)
OKLCHoklch(59.22% 0.11 100.4)
XYZxyz(18.8635, 20.9578, 4.5647)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F22 #22308D
analogous
#8D4A22 #8D7F22 #668D22
triadic
#8D7F22 #228D7F #7F228D
tetradic
#8D7F22 #228D4A #22308D #8D2266
square
#8D7F22 #228D4A #22308D #8D2266
split-complementary
#8D7F22 #22668D #4A228D
monochromatic
#2A260A #5C5316 #8D7F22 #BEAB2E #D6C554

Accessibility & contrast

On white

4.05
#8D7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D7F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F22
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F22#FFFFFF#000000##000000
##8D7F221.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f22;
/* rgb */ color: rgb(141, 127, 34);
/* oklch */ color: oklch(59.2% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#b2a364',
    500: '#8d7f22',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f22;
$custom-light: #b2a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f22",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 52.15,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.11042,
    "h": 100.4
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#8D7F22
secondary
#515FB9
accent
#59E444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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