#8D8019#8D8019

#8D8019 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.116 H 101.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D8019
RGBrgb(141, 128, 25)
HSLhsl(53, 70%, 33%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 9.2%, 82.3%, 44.7%)
CIE-LABlab(53.14, -6.27, 52.65)
CIE-LCHlch(53.14, 53.02, 96.79°)
OKLaboklab(59.39% -0.0234 0.1139)
OKLCHoklch(59.39% 0.116 101.6)
XYZxyz(18.8801, 21.1721, 4.0117)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8019 #19268D
analogous
#8D4619 #8D8019 #608D19
triadic
#8D8019 #198D80 #80198D
tetradic
#8D8019 #198D46 #19268D #8D1960
square
#8D8019 #198D46 #19268D #8D1960
split-complementary
#8D8019 #19608D #46198D
monochromatic
#252207 #595110 #8D8019 #C1AF22 #DECC43

Accessibility & contrast

On white

4.01
#8D8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8D8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8019
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8019#FFFFFF#000000##000000
##8D80191.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8019;
/* rgb */ color: rgb(141, 128, 25);
/* oklch */ color: oklch(59.4% 0.116 101.6);
Tailwind
colors: {
  custom: {
    50: '#b2a460',
    500: '#8d8019',
    950: '#000000',
  },
}
SCSS
$custom: #8d8019;
$custom-light: #b2a460;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8019",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 53.276,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.11627,
    "h": 101.6
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#8D8019
secondary
#4351BF
accent
#4FED3B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8019

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

Preview Lab → · Contrast checker → · Palette generator →

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