#8D8B15#8D8B15

#8D8B15 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#8D8B15
RGBrgb(141, 139, 21)
HSLhsl(59, 74%, 32%)
HSVhsv(59, 85%, 55%)
CMYKcmyk(0%, 1.4%, 85.1%, 44.7%)
CIE-LABlab(56.27, -12.37, 56.47)
CIE-LCHlch(56.27, 57.81, 102.36°)
OKLaboklab(61.88% -0.0407 0.1214)
OKLCHoklch(61.88% 0.128 108.6)
XYZxyz(20.3533, 24.1828, 4.3049)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B15 #15178D
analogous
#8D4F15 #8D8B15 #538D15
triadic
#8D8B15 #158D8B #8B158D
tetradic
#8D8B15 #158D4F #15178D #8D1553
square
#8D8B15 #158D4F #15178D #8D1553
split-complementary
#8D8B15 #15538D #4F158D
monochromatic
#222205 #58560D #8D8B15 #C2C01D #E2DF3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d8b15;
/* rgb */ color: rgb(141, 139, 21);
/* oklch */ color: oklch(61.9% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#b2ac60',
    500: '#8d8b15',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b15;
$custom-light: #b2ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b15",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 21
  },
  "hsl": {
    "h": 59,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.12804,
    "h": 108.6
  },
  "luminance": 0.24182
}

Semantic roles & 50–950 ramp

primary
#8D8B15
secondary
#3D3FC1
accent
#3AF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8B15

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

Preview Lab → · Contrast checker → · Palette generator →

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