#8D8A19#8D8A19

#8D8A19 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.125 H 107.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D8A19
RGBrgb(141, 138, 25)
HSLhsl(58, 70%, 33%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.1%, 82.3%, 44.7%)
CIE-LABlab(56.00, -11.71, 55.15)
CIE-LCHlch(56.00, 56.38, 101.99°)
OKLaboklab(61.67% -0.0386 0.1193)
OKLCHoklch(61.67% 0.125 107.9)
XYZxyz(20.2493, 23.9106, 4.4681)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A19 #191C8D
analogous
#8D5019 #8D8A19 #568D19
triadic
#8D8A19 #198D8A #8A198D
tetradic
#8D8A19 #198D50 #191C8D #8D1956
square
#8D8A19 #198D50 #191C8D #8D1956
split-complementary
#8D8A19 #19568D #50198D
monochromatic
#252407 #595710 #8D8A19 #C1BD22 #DEDA43

Accessibility & contrast

On white

3.63
#8D8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8D8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A19
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A19#FFFFFF#000000##000000
##8D8A191.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a19;
/* rgb */ color: rgb(141, 138, 25);
/* oklch */ color: oklch(61.7% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab62',
    500: '#8d8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a19;
$custom-light: #b2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a19",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 58.448,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61666,
    "c": 0.12538,
    "h": 107.9
  },
  "luminance": 0.2391
}

Semantic roles & 50–950 ramp

primary
#8D8A19
secondary
#4346BF
accent
#40ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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