#8D8919#8D8919

#8D8919 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.124 H 107.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D8919
RGBrgb(141, 137, 25)
HSLhsl(58, 70%, 33%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.8%, 82.3%, 44.7%)
CIE-LABlab(55.71, -11.17, 54.90)
CIE-LCHlch(55.71, 56.03, 101.50°)
OKLaboklab(61.44% -0.0371 0.1187)
OKLCHoklch(61.44% 0.124 107.4)
XYZxyz(20.1065, 23.6249, 4.4205)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8919 #191D8D
analogous
#8D4F19 #8D8919 #578D19
triadic
#8D8919 #198D89 #89198D
tetradic
#8D8919 #198D4F #191D8D #8D1957
square
#8D8919 #198D4F #191D8D #8D1957
split-complementary
#8D8919 #19578D #4F198D
monochromatic
#252407 #595610 #8D8919 #C1BC22 #DED843

Accessibility & contrast

On white

3.67
#8D8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8D8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8919
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8919#FFFFFF#000000##000000
##8D89191.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8919;
/* rgb */ color: rgb(141, 137, 25);
/* oklch */ color: oklch(61.4% 0.124 107.4);
Tailwind
colors: {
  custom: {
    50: '#b2ab62',
    500: '#8d8919',
    950: '#000000',
  },
}
SCSS
$custom: #8d8919;
$custom-light: #b2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8919",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 57.931,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.12441,
    "h": 107.4
  },
  "luminance": 0.23624
}

Semantic roles & 50–950 ramp

primary
#8D8919
secondary
#4347BF
accent
#41ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8919

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

Preview Lab → · Contrast checker → · Palette generator →

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