#8E7A20#8E7A20

#8E7A20 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.108 H 96.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E7A20
RGBrgb(142, 122, 32)
HSLhsl(49, 63%, 34%)
HSVhsv(49, 77%, 56%)
CMYKcmyk(0%, 14.1%, 77.5%, 44.3%)
CIE-LABlab(51.58, -2.18, 48.86)
CIE-LCHlch(51.58, 48.91, 92.56°)
OKLaboklab(58.19% -0.0112 0.1072)
OKLCHoklch(58.19% 0.108 96)
XYZxyz(18.3765, 19.7751, 4.2153)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7A20 #20348E
analogous
#8E4320 #8E7A20 #6B8E20
triadic
#8E7A20 #208E7A #7A208E
tetradic
#8E7A20 #208E43 #20348E #8E206B
square
#8E7A20 #208E43 #20348E #8E206B
split-complementary
#8E7A20 #206B8E #43208E
monochromatic
#2A2409 #5C4F15 #8E7A20 #C0A52B #D8BF51

Accessibility & contrast

On white

4.24
#8E7A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E7A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7A20
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7A20#FFFFFF#000000##000000
##8E7A201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#9A7069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e7a20;
/* rgb */ color: rgb(142, 122, 32);
/* oklch */ color: oklch(58.2% 0.108 96.0);
Tailwind
colors: {
  custom: {
    50: '#b3a063',
    500: '#8e7a20',
    950: '#000000',
  },
}
SCSS
$custom: #8e7a20;
$custom-light: #b3a063;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7a20",
  "rgb": {
    "r": 142,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 49.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.10778,
    "h": 96
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#8E7A20
secondary
#4F63BB
accent
#5FE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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