#8D8B1A#8D8B1A

#8D8B1A is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.126 H 108.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8D8B1A
RGBrgb(141, 139, 26)
HSLhsl(59, 69%, 33%)
HSVhsv(59, 82%, 55%)
CMYKcmyk(0%, 1.4%, 81.6%, 44.7%)
CIE-LABlab(56.29, -12.21, 55.11)
CIE-LCHlch(56.29, 56.45, 102.49°)
OKLaboklab(61.9% -0.0399 0.1194)
OKLCHoklch(61.9% 0.126 108.5)
XYZxyz(20.4044, 24.2032, 4.5739)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B1A #1A1C8D
analogous
#8D521A #8D8B1A #558D1A
triadic
#8D8B1A #1A8D8B #8B1A8D
tetradic
#8D8B1A #1A8D52 #1A1C8D #8D1A55
square
#8D8B1A #1A8D52 #1A1C8D #8D1A55
split-complementary
#8D8B1A #1A558D #521A8D
monochromatic
#262507 #595810 #8D8B1A #C1BE24 #DDDA45

Accessibility & contrast

On white

3.60
#8D8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8D8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B1A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B1A#FFFFFF#000000##000000
##8D8B1A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b1a;
/* rgb */ color: rgb(141, 139, 26);
/* oklch */ color: oklch(61.9% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac62',
    500: '#8d8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b1a;
$custom-light: #b2ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b1a",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 58.957,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.12589,
    "h": 108.5
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#8D8B1A
secondary
#4547BE
accent
#3FEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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