#8D7A22#8D7A22

#8D7A22 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.106 H 96.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D7A22
RGBrgb(141, 122, 34)
HSLhsl(49, 61%, 34%)
HSVhsv(49, 76%, 55%)
CMYKcmyk(0%, 13.5%, 75.9%, 44.7%)
CIE-LABlab(51.49, -2.55, 47.97)
CIE-LCHlch(51.49, 48.04, 93.05°)
OKLaboklab(58.1% -0.012 0.1058)
OKLCHoklch(58.1% 0.106 96.5)
XYZxyz(18.2337, 19.6983, 4.3548)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A22 #22358D
analogous
#8D4522 #8D7A22 #6B8D22
triadic
#8D7A22 #228D7A #7A228D
tetradic
#8D7A22 #228D45 #22358D #8D226B
square
#8D7A22 #228D45 #22358D #8D226B
split-complementary
#8D7A22 #226B8D #45228D
monochromatic
#2A250A #5C4F16 #8D7A22 #BEA52E #D6BF54

Accessibility & contrast

On white

4.25
#8D7A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D7A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A22
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A22#FFFFFF#000000##000000
##8D7A221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a22;
/* rgb */ color: rgb(141, 122, 34);
/* oklch */ color: oklch(58.1% 0.106 96.5);
Tailwind
colors: {
  custom: {
    50: '#b2a064',
    500: '#8d7a22',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a22;
$custom-light: #b2a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a22",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 49.346,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.10643,
    "h": 96.5
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#8D7A22
secondary
#5164B9
accent
#60E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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