#8E7322#8E7322

#8E7322 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.7% C 0.102 H 89.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8E7322
RGBrgb(142, 115, 34)
HSLhsl(45, 61%, 35%)
HSVhsv(45, 76%, 56%)
CMYKcmyk(0%, 19%, 76.1%, 44.3%)
CIE-LABlab(49.65, 1.88, 46.23)
CIE-LCHlch(49.65, 46.27, 87.68°)
OKLaboklab(56.67% 0.0006 0.102)
OKLCHoklch(56.67% 0.102 89.7)
XYZxyz(17.5758, 18.1289, 4.0866)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7322 #223D8E
analogous
#8E3D22 #8E7322 #738E22
triadic
#8E7322 #228E73 #73228E
tetradic
#8E7322 #228E3D #223D8E #8E2273
square
#8E7322 #228E3D #223D8E #8E2273
split-complementary
#8E7322 #22738E #3D228E
monochromatic
#2B230A #5D4B16 #8E7322 #BF9B2E #D6B654

Accessibility & contrast

On white

4.54
#8E7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8E7322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7322
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7322#FFFFFF#000000##000000
##8E73221.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#9A6963
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e7322;
/* rgb */ color: rgb(142, 115, 34);
/* oklch */ color: oklch(56.7% 0.102 89.7);
Tailwind
colors: {
  custom: {
    50: '#b39b63',
    500: '#8e7322',
    950: '#000000',
  },
}
SCSS
$custom: #8e7322;
$custom-light: #b39b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7322",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.10201,
    "h": 89.7
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#8E7322
secondary
#526CBA
accent
#6CE443
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E7322

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

Preview Lab → · Contrast checker → · Palette generator →

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