#8E8720#8E8720

#8E8720 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.119 H 105.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E8720
RGBrgb(142, 135, 32)
HSLhsl(56, 63%, 34%)
HSVhsv(56, 77%, 56%)
CMYKcmyk(0%, 4.9%, 77.5%, 44.3%)
CIE-LABlab(55.26, -9.36, 52.29)
CIE-LCHlch(55.26, 53.13, 100.15°)
OKLaboklab(61.11% -0.0315 0.1145)
OKLCHoklch(61.11% 0.119 105.4)
XYZxyz(20.0809, 23.1838, 4.7834)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8720 #20278E
analogous
#8E5020 #8E8720 #5E8E20
triadic
#8E8720 #208E87 #87208E
tetradic
#8E8720 #208E50 #20278E #8E205E
square
#8E8720 #208E50 #20278E #8E205E
split-complementary
#8E8720 #205E8E #50208E
monochromatic
#2A2809 #5C5815 #8E8720 #C0B62B #D8CF51

Accessibility & contrast

On white

3.73
#8E8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8E8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8720
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8720#FFFFFF#000000##000000
##8E87201.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8720;
/* rgb */ color: rgb(142, 135, 32);
/* oklch */ color: oklch(61.1% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b3a964',
    500: '#8e8720',
    950: '#000000',
  },
}
SCSS
$custom: #8e8720;
$custom-light: #b3a964;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8720",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 56.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.11875,
    "h": 105.4
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#8E8720
secondary
#4F56BB
accent
#4CE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8720

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

Preview Lab → · Contrast checker → · Palette generator →

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