#8E7622#8E7622

#8E7622 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.3% C 0.104 H 92.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E7622
RGBrgb(142, 118, 34)
HSLhsl(47, 61%, 35%)
HSVhsv(47, 76%, 56%)
CMYKcmyk(0%, 16.9%, 76.1%, 44.3%)
CIE-LABlab(50.48, 0.17, 47.03)
CIE-LCHlch(50.48, 47.03, 89.79°)
OKLaboklab(57.32% -0.0043 0.1037)
OKLCHoklch(57.32% 0.104 92.4)
XYZxyz(17.9235, 18.8242, 4.2024)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7622 #223A8E
analogous
#8E4022 #8E7622 #708E22
triadic
#8E7622 #228E76 #76228E
tetradic
#8E7622 #228E40 #223A8E #8E2270
square
#8E7622 #228E40 #223A8E #8E2270
split-complementary
#8E7622 #22708E #40228E
monochromatic
#2B240A #5D4D16 #8E7622 #BF9F2E #D6B954

Accessibility & contrast

On white

4.41
#8E7622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8E7622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7622
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7622#FFFFFF#000000##000000
##8E76221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#9A6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e7622;
/* rgb */ color: rgb(142, 118, 34);
/* oklch */ color: oklch(57.3% 0.104 92.4);
Tailwind
colors: {
  custom: {
    50: '#b39d63',
    500: '#8e7622',
    950: '#000000',
  },
}
SCSS
$custom: #8e7622;
$custom-light: #b39d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7622",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 46.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.1038,
    "h": 92.4
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#8E7622
secondary
#5269BA
accent
#67E443
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E7622

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

Preview Lab → · Contrast checker → · Palette generator →

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