#8D8819#8D8819

#8D8819 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.123 H 106.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D8819
RGBrgb(141, 136, 25)
HSLhsl(57, 70%, 33%)
HSVhsv(57, 82%, 55%)
CMYKcmyk(0%, 3.5%, 82.3%, 44.7%)
CIE-LABlab(55.42, -10.64, 54.65)
CIE-LCHlch(55.42, 55.68, 101.01°)
OKLaboklab(61.21% -0.0356 0.1182)
OKLCHoklch(61.21% 0.123 106.8)
XYZxyz(19.9650, 23.3420, 4.3733)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8819 #191E8D
analogous
#8D4E19 #8D8819 #588D19
triadic
#8D8819 #198D88 #88198D
tetradic
#8D8819 #198D4E #191E8D #8D1958
square
#8D8819 #198D4E #191E8D #8D1958
split-complementary
#8D8819 #19588D #4E198D
monochromatic
#252407 #595610 #8D8819 #C1BA22 #DED743

Accessibility & contrast

On white

3.70
#8D8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8D8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8819
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8819#FFFFFF#000000##000000
##8D88191.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8819;
/* rgb */ color: rgb(141, 136, 25);
/* oklch */ color: oklch(61.2% 0.123 106.8);
Tailwind
colors: {
  custom: {
    50: '#b2aa61',
    500: '#8d8819',
    950: '#000000',
  },
}
SCSS
$custom: #8d8819;
$custom-light: #b2aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8819",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 57.414,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.12345,
    "h": 106.8
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#8D8819
secondary
#4349BF
accent
#43ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8819

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

Preview Lab → · Contrast checker → · Palette generator →

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