#8D8D19#8D8D19

#8D8D19 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.128 H 109.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D8D19
RGBrgb(141, 141, 25)
HSLhsl(60, 70%, 33%)
HSVhsv(60, 82%, 55%)
CMYKcmyk(0%, 0%, 82.3%, 44.7%)
CIE-LABlab(56.86, -13.31, 55.90)
CIE-LCHlch(56.86, 57.47, 103.39°)
OKLaboklab(62.36% -0.0431 0.1209)
OKLCHoklch(62.36% 0.128 109.6)
XYZxyz(20.6857, 24.7833, 4.6135)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D19 #19198D
analogous
#8D5319 #8D8D19 #538D19
triadic
#8D8D19 #198D8D #8D198D
tetradic
#8D8D19 #198D53 #19198D #8D1953
square
#8D8D19 #198D53 #19198D #8D1953
split-complementary
#8D8D19 #19538D #53198D
monochromatic
#252507 #595910 #8D8D19 #C1C122 #DEDE43

Accessibility & contrast

On white

3.53
#8D8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8D8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D19
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D19#FFFFFF#000000##000000
##8D8D191.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d19;
/* rgb */ color: rgb(141, 141, 25);
/* oklch */ color: oklch(62.4% 0.128 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae62',
    500: '#8d8d19',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d19;
$custom-light: #b2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d19",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62358,
    "c": 0.12834,
    "h": 109.6
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#8D8D19
secondary
#4343BF
accent
#3BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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