#8D9819#8D9819

#8D9819 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 64.9% C 0.140 H 114.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D9819
RGBrgb(141, 152, 25)
HSLhsl(65, 72%, 35%)
HSVhsv(65, 84%, 60%)
CMYKcmyk(7.2%, 0%, 83.6%, 40.4%)
CIE-LABlab(60.06, -19.05, 58.66)
CIE-LCHlch(60.06, 61.68, 107.99°)
OKLaboklab(64.92% -0.0589 0.1269)
OKLCHoklch(64.92% 0.14 114.9)
XYZxyz(22.3889, 28.1898, 5.1813)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9819 #241998
analogous
#986419 #8D9819 #4E9819
triadic
#8D9819 #198D98 #98198D
tetradic
#8D9819 #199864 #241998 #98194E
square
#8D9819 #199864 #241998 #98194E
split-complementary
#8D9819 #194E98 #641998
monochromatic
#2B2F08 #5C6310 #8D9819 #BECD22 #D4E14A

Accessibility & contrast

On white

3.16
#8D9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8D9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9819
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9819#FFFFFF#000000##000000
##8D98191.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#978F81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9819;
/* rgb */ color: rgb(141, 152, 25);
/* oklch */ color: oklch(64.9% 0.140 114.9);
Tailwind
colors: {
  custom: {
    50: '#b2b664',
    500: '#8d9819',
    950: '#000000',
  },
}
SCSS
$custom: #8d9819;
$custom-light: #b2b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9819",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 65.197,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64918,
    "c": 0.13987,
    "h": 114.9
  },
  "luminance": 0.28189
}

Semantic roles & 50–950 ramp

primary
#8D9819
secondary
#544AC3
accent
#39EE49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9819

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

Preview Lab → · Contrast checker → · Palette generator →

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