#8E7722#8E7722

#8E7722 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.104 H 93.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E7722
RGBrgb(142, 119, 34)
HSLhsl(47, 61%, 35%)
HSVhsv(47, 76%, 56%)
CMYKcmyk(0%, 16.2%, 76.1%, 44.3%)
CIE-LABlab(50.76, -0.40, 47.30)
CIE-LCHlch(50.76, 47.30, 90.48°)
OKLaboklab(57.54% -0.0059 0.1043)
OKLCHoklch(57.54% 0.104 93.3)
XYZxyz(18.0419, 19.0610, 4.2419)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7722 #22398E
analogous
#8E4122 #8E7722 #6F8E22
triadic
#8E7722 #228E77 #77228E
tetradic
#8E7722 #228E41 #22398E #8E226F
square
#8E7722 #228E41 #22398E #8E226F
split-complementary
#8E7722 #226F8E #41228E
monochromatic
#2B240A #5D4E16 #8E7722 #BFA02E #D6BA54

Accessibility & contrast

On white

4.36
#8E7722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8E7722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7722
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7722#FFFFFF#000000##000000
##8E77221.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#9A6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e7722;
/* rgb */ color: rgb(142, 119, 34);
/* oklch */ color: oklch(57.5% 0.104 93.3);
Tailwind
colors: {
  custom: {
    50: '#b39d63',
    500: '#8e7722',
    950: '#000000',
  },
}
SCSS
$custom: #8e7722;
$custom-light: #b39d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7722",
  "rgb": {
    "r": 142,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 47.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.10445,
    "h": 93.3
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#8E7722
secondary
#5268BA
accent
#66E443
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E7722

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

Preview Lab → · Contrast checker → · Palette generator →

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