#8E8820#8E8820

#8E8820 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.120 H 106.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E8820
RGBrgb(142, 136, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 56%)
CMYKcmyk(0%, 4.2%, 77.5%, 44.3%)
CIE-LABlab(55.55, -9.91, 52.56)
CIE-LCHlch(55.55, 53.48, 100.67°)
OKLaboklab(61.34% -0.033 0.1151)
OKLCHoklch(61.34% 0.12 106)
XYZxyz(20.2210, 23.4641, 4.8301)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8820 #20268E
analogous
#8E5120 #8E8820 #5D8E20
triadic
#8E8820 #208E88 #88208E
tetradic
#8E8820 #208E51 #20268E #8E205D
square
#8E8820 #208E51 #20268E #8E205D
split-complementary
#8E8820 #205D8E #51208E
monochromatic
#2A2809 #5C5815 #8E8820 #C0B82B #D8D051

Accessibility & contrast

On white

3.69
#8E8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8E8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8820
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8820#FFFFFF#000000##000000
##8E88201.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#997E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e8820;
/* rgb */ color: rgb(142, 136, 32);
/* oklch */ color: oklch(61.3% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b2aa65',
    500: '#8e8820',
    950: '#000000',
  },
}
SCSS
$custom: #8e8820;
$custom-light: #b2aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8820",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 56.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61339,
    "c": 0.1197,
    "h": 106
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#8E8820
secondary
#4F55BB
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8820

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

Preview Lab → · Contrast checker → · Palette generator →

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