#8D8515#8D8515

#8D8515 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.122 H 105.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D8515
RGBrgb(141, 133, 21)
HSLhsl(56, 74%, 32%)
HSVhsv(56, 85%, 55%)
CMYKcmyk(0%, 5.7%, 85.1%, 44.7%)
CIE-LABlab(54.55, -9.14, 55.02)
CIE-LCHlch(54.55, 55.77, 99.43°)
OKLaboklab(60.5% -0.0318 0.1182)
OKLCHoklch(60.5% 0.122 105)
XYZxyz(19.5083, 22.4927, 4.0233)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8515 #151D8D
analogous
#8D4915 #8D8515 #598D15
triadic
#8D8515 #158D85 #85158D
tetradic
#8D8515 #158D49 #151D8D #8D1559
square
#8D8515 #158D49 #151D8D #8D1559
split-complementary
#8D8515 #15598D #49158D
monochromatic
#222105 #58530D #8D8515 #C2B71D #E2D73B

Accessibility & contrast

On white

3.82
#8D8515 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D8515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8515
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8515#FFFFFF#000000##000000
##8D85151.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948520
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8515;
/* rgb */ color: rgb(141, 133, 21);
/* oklch */ color: oklch(60.5% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b2a85f',
    500: '#8d8515',
    950: '#000000',
  },
}
SCSS
$custom: #8d8515;
$custom-light: #b2a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8515",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 21
  },
  "hsl": {
    "h": 56,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.12241,
    "h": 105
  },
  "luminance": 0.22492
}

Semantic roles & 50–950 ramp

primary
#8D8515
secondary
#3D46C1
accent
#43F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8515

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

Preview Lab → · Contrast checker → · Palette generator →

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