#8E8019#8E8019

#8E8019 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.116 H 101.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E8019
RGBrgb(142, 128, 25)
HSLhsl(53, 70%, 33%)
HSVhsv(53, 82%, 56%)
CMYKcmyk(0%, 9.9%, 82.4%, 44.3%)
CIE-LABlab(53.23, -5.80, 52.77)
CIE-LCHlch(53.23, 53.09, 96.28°)
OKLaboklab(59.49% -0.0221 0.1141)
OKLCHoklch(59.49% 0.116 101)
XYZxyz(19.0509, 21.2602, 4.0197)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8019 #19278E
analogous
#8E4619 #8E8019 #618E19
triadic
#8E8019 #198E80 #80198E
tetradic
#8E8019 #198E46 #19278E #8E1961
square
#8E8019 #198E46 #19278E #8E1961
split-complementary
#8E8019 #19618E #46198E
monochromatic
#262207 #5A5110 #8E8019 #C2AF22 #DECB43

Accessibility & contrast

On white

4.00
#8E8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8E8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8019
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8019#FFFFFF#000000##000000
##8E80191.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#9A766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e8019;
/* rgb */ color: rgb(142, 128, 25);
/* oklch */ color: oklch(59.5% 0.116 101.0);
Tailwind
colors: {
  custom: {
    50: '#b3a460',
    500: '#8e8019',
    950: '#000000',
  },
}
SCSS
$custom: #8e8019;
$custom-light: #b3a460;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8019",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 52.821,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.11623,
    "h": 101
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#8E8019
secondary
#4453BF
accent
#50ED3B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8019

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

Preview Lab → · Contrast checker → · Palette generator →

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