#8D8B14#8D8B14

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

Color values

HEX#8D8B14
RGBrgb(141, 139, 20)
HSLhsl(59, 75%, 32%)
HSVhsv(59, 86%, 55%)
CMYKcmyk(0%, 1.4%, 85.8%, 44.7%)
CIE-LABlab(56.27, -12.40, 56.72)
CIE-LCHlch(56.27, 58.06, 102.34°)
OKLaboklab(61.88% -0.0409 0.1217)
OKLCHoklch(61.88% 0.128 108.6)
XYZxyz(20.3442, 24.1792, 4.2571)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B14 #14168D
analogous
#8D4F14 #8D8B14 #538D14
triadic
#8D8B14 #148D8B #8B148D
tetradic
#8D8B14 #148D4F #14168D #8D1453
square
#8D8B14 #148D4F #14168D #8D1453
split-complementary
#8D8B14 #14538D #4F148D
monochromatic
#222105 #57560C #8D8B14 #C3C01C #E3E039

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8B14#FFFFFF#000000##000000
##8D8B141.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)
#998920
Tritanopia (blue-blind)
#988176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b14;
/* rgb */ color: rgb(141, 139, 20);
/* oklch */ color: oklch(61.9% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#b2ac60',
    500: '#8d8b14',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b14;
$custom-light: #b2ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b14",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 59.008,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.12843,
    "h": 108.6
  },
  "luminance": 0.24178
}

Semantic roles & 50–950 ramp

primary
#8D8B14
secondary
#3C3EC1
accent
#39F236
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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