#8D8B1D#8D8B1D

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

Color values

HEX#8D8B1D
RGBrgb(141, 139, 29)
HSLhsl(59, 66%, 33%)
HSVhsv(59, 79%, 55%)
CMYKcmyk(0%, 1.4%, 79.4%, 44.7%)
CIE-LABlab(56.30, -12.10, 54.21)
CIE-LCHlch(56.30, 55.54, 102.58°)
OKLaboklab(61.92% -0.0394 0.118)
OKLCHoklch(61.92% 0.124 108.4)
XYZxyz(20.4397, 24.2173, 4.7599)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B1D #1D1F8D
analogous
#8D531D #8D8B1D #578D1D
triadic
#8D8B1D #1D8D8B #8B1D8D
tetradic
#8D8B1D #1D8D53 #1D1F8D #8D1D57
square
#8D8B1D #1D8D53 #1D1F8D #8D1D57
split-complementary
#8D8B1D #1D578D #531D8D
monochromatic
#272708 #5A5913 #8D8B1D #C0BD27 #DAD74B

Accessibility & contrast

On white

3.59
#8D8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8B1D#FFFFFF#000000##000000
##8D8B1D1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8b1d;
/* rgb */ color: rgb(141, 139, 29);
/* oklch */ color: oklch(61.9% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b2ac64',
    500: '#8d8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b1d;
$custom-light: #b2ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b1d",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 58.929,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.12442,
    "h": 108.4
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#8D8B1D
secondary
#4A4CBC
accent
#42E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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