#8D7E22#8D7E22

#8D7E22 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.110 H 99.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7E22
RGBrgb(141, 126, 34)
HSLhsl(52, 61%, 34%)
HSVhsv(52, 76%, 55%)
CMYKcmyk(0%, 10.6%, 75.9%, 44.7%)
CIE-LABlab(52.62, -4.79, 49.05)
CIE-LCHlch(52.62, 49.28, 95.58°)
OKLaboklab(58.99% -0.0184 0.108)
OKLCHoklch(58.99% 0.11 99.6)
XYZxyz(18.7350, 20.7008, 4.5219)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E22 #22318D
analogous
#8D4922 #8D7E22 #678D22
triadic
#8D7E22 #228D7E #7E228D
tetradic
#8D7E22 #228D49 #22318D #8D2267
square
#8D7E22 #228D49 #22318D #8D2267
split-complementary
#8D7E22 #22678D #49228D
monochromatic
#2A260A #5C5216 #8D7E22 #BEAA2E #D6C354

Accessibility & contrast

On white

4.09
#8D7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8D7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E22#FFFFFF#000000##000000
##8D7E221.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A11
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e22;
/* rgb */ color: rgb(141, 126, 34);
/* oklch */ color: oklch(59.0% 0.110 99.6);
Tailwind
colors: {
  custom: {
    50: '#b2a364',
    500: '#8d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e22;
$custom-light: #b2a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e22",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 51.589,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.10959,
    "h": 99.6
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#8D7E22
secondary
#5160B9
accent
#5AE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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