#8E8920#8E8920

#8E8920 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.121 H 106.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8E8920
RGBrgb(142, 137, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 56%)
CMYKcmyk(0%, 3.5%, 77.5%, 44.3%)
CIE-LABlab(55.83, -10.45, 52.82)
CIE-LCHlch(55.83, 53.85, 101.19°)
OKLaboklab(61.57% -0.0345 0.1156)
OKLCHoklch(61.57% 0.121 106.6)
XYZxyz(20.3625, 23.7471, 4.8773)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8920 #20258E
analogous
#8E5220 #8E8920 #5C8E20
triadic
#8E8920 #208E89 #89208E
tetradic
#8E8920 #208E52 #20258E #8E205C
square
#8E8920 #208E52 #20258E #8E205C
split-complementary
#8E8920 #205C8E #52208E
monochromatic
#2A2909 #5C5915 #8E8920 #C0B92B #D8D251

Accessibility & contrast

On white

3.65
#8E8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8E8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8920
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8920#FFFFFF#000000##000000
##8E89201.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#978828
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8920;
/* rgb */ color: rgb(142, 137, 32);
/* oklch */ color: oklch(61.6% 0.121 106.6);
Tailwind
colors: {
  custom: {
    50: '#b2ab65',
    500: '#8e8920',
    950: '#000000',
  },
}
SCSS
$custom: #8e8920;
$custom-light: #b2ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8920",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 57.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.12067,
    "h": 106.6
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#8E8920
secondary
#4F54BB
accent
#49E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8920

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

Preview Lab → · Contrast checker → · Palette generator →

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