#8E8520#8E8520

#8E8520 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.117 H 104.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E8520
RGBrgb(142, 133, 32)
HSLhsl(55, 63%, 34%)
HSVhsv(55, 77%, 56%)
CMYKcmyk(0%, 6.3%, 77.5%, 44.3%)
CIE-LABlab(54.69, -8.28, 51.77)
CIE-LCHlch(54.69, 52.42, 99.08°)
OKLaboklab(60.66% -0.0285 0.1134)
OKLCHoklch(60.66% 0.117 104.1)
XYZxyz(19.8044, 22.6309, 4.6912)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8520 #20298E
analogous
#8E4E20 #8E8520 #608E20
triadic
#8E8520 #208E85 #85208E
tetradic
#8E8520 #208E4E #20298E #8E2060
square
#8E8520 #208E4E #20298E #8E2060
split-complementary
#8E8520 #20608E #4E208E
monochromatic
#2A2709 #5C5615 #8E8520 #C0B42B #D8CD51

Accessibility & contrast

On white

3.80
#8E8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8E8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8520
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8520#FFFFFF#000000##000000
##8E85201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8520;
/* rgb */ color: rgb(142, 133, 32);
/* oklch */ color: oklch(60.7% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8e8520',
    950: '#000000',
  },
}
SCSS
$custom: #8e8520;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8520",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 55.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.11689,
    "h": 104.1
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#8E8520
secondary
#4F58BB
accent
#4FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8520

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

Preview Lab → · Contrast checker → · Palette generator →

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