#8D7C22#8D7C22

#8D7C22 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.108 H 98.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D7C22
RGBrgb(141, 124, 34)
HSLhsl(50, 61%, 34%)
HSVhsv(50, 76%, 55%)
CMYKcmyk(0%, 12.1%, 75.9%, 44.7%)
CIE-LABlab(52.06, -3.68, 48.51)
CIE-LCHlch(52.06, 48.65, 94.33°)
OKLaboklab(58.55% -0.0152 0.1069)
OKLCHoklch(58.55% 0.108 98.1)
XYZxyz(18.4818, 20.1945, 4.4375)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C22 #22338D
analogous
#8D4722 #8D7C22 #698D22
triadic
#8D7C22 #228D7C #7C228D
tetradic
#8D7C22 #228D47 #22338D #8D2269
square
#8D7C22 #228D47 #22338D #8D2269
split-complementary
#8D7C22 #22698D #47228D
monochromatic
#2A250A #5C5116 #8D7C22 #BEA72E #D6C154

Accessibility & contrast

On white

4.17
#8D7C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8D7C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C22#FFFFFF#000000##000000
##8D7C221.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#98726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d7c22;
/* rgb */ color: rgb(141, 124, 34);
/* oklch */ color: oklch(58.5% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#b2a164',
    500: '#8d7c22',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c22;
$custom-light: #b2a164;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c22",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 50.467,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58547,
    "c": 0.10798,
    "h": 98.1
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#8D7C22
secondary
#5162B9
accent
#5DE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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