#8D8A1A#8D8A1A

#8D8A1A 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#8D8A1A
RGBrgb(141, 138, 26)
HSLhsl(58, 69%, 33%)
HSVhsv(58, 82%, 55%)
CMYKcmyk(0%, 2.1%, 81.6%, 44.7%)
CIE-LABlab(56.00, -11.68, 54.86)
CIE-LCHlch(56.00, 56.09, 102.02°)
OKLaboklab(61.67% -0.0384 0.1189)
OKLCHoklch(61.67% 0.125 107.9)
XYZxyz(20.2603, 23.9150, 4.5259)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A1A #1A1D8D
analogous
#8D511A #8D8A1A #568D1A
triadic
#8D8A1A #1A8D8A #8A1A8D
tetradic
#8D8A1A #1A8D51 #1A1D8D #8D1A56
square
#8D8A1A #1A8D51 #1A1D8D #8D1A56
split-complementary
#8D8A1A #1A568D #511A8D
monochromatic
#262507 #595710 #8D8A1A #C1BD24 #DDD945

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A1A#FFFFFF#000000##000000
##8D8A1A1.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)
#988824
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a1a;
/* rgb */ color: rgb(141, 138, 26);
/* oklch */ color: oklch(61.7% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab62',
    500: '#8d8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a1a;
$custom-light: #b2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a1a",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 58.435,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.12491,
    "h": 107.9
  },
  "luminance": 0.23914
}

Semantic roles & 50–950 ramp

primary
#8D8A1A
secondary
#4548BE
accent
#41EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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