#8D8519#8D8519

#8D8519 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.121 H 104.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D8519
RGBrgb(141, 133, 25)
HSLhsl(56, 70%, 33%)
HSVhsv(56, 82%, 55%)
CMYKcmyk(0%, 5.7%, 82.3%, 44.7%)
CIE-LABlab(54.56, -9.01, 53.90)
CIE-LCHlch(54.56, 54.65, 99.49°)
OKLaboklab(60.52% -0.0311 0.1166)
OKLCHoklch(60.52% 0.121 104.9)
XYZxyz(19.5484, 22.5088, 4.2344)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8519 #19218D
analogous
#8D4B19 #8D8519 #5B8D19
triadic
#8D8519 #198D85 #85198D
tetradic
#8D8519 #198D4B #19218D #8D195B
square
#8D8519 #198D4B #19218D #8D195B
split-complementary
#8D8519 #195B8D #4B198D
monochromatic
#252307 #595410 #8D8519 #C1B622 #DED343

Accessibility & contrast

On white

3.82
#8D8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8519
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8519#FFFFFF#000000##000000
##8D85191.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8519;
/* rgb */ color: rgb(141, 133, 25);
/* oklch */ color: oklch(60.5% 0.121 104.9);
Tailwind
colors: {
  custom: {
    50: '#b2a861',
    500: '#8d8519',
    950: '#000000',
  },
}
SCSS
$custom: #8d8519;
$custom-light: #b2a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8519",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 55.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.12065,
    "h": 104.9
  },
  "luminance": 0.22508
}

Semantic roles & 50–950 ramp

primary
#8D8519
secondary
#434CBF
accent
#47ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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