#8D8415#8D8415

#8D8415 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.122 H 104.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D8415
RGBrgb(141, 132, 21)
HSLhsl(56, 74%, 32%)
HSVhsv(56, 85%, 55%)
CMYKcmyk(0%, 6.4%, 85.1%, 44.7%)
CIE-LABlab(54.26, -8.60, 54.77)
CIE-LCHlch(54.26, 55.45, 98.92°)
OKLaboklab(60.28% -0.0302 0.1177)
OKLCHoklch(60.28% 0.122 104.4)
XYZxyz(19.3720, 22.2202, 3.9778)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8415 #151E8D
analogous
#8D4815 #8D8415 #5A8D15
triadic
#8D8415 #158D84 #84158D
tetradic
#8D8415 #158D48 #151E8D #8D155A
square
#8D8415 #158D48 #151E8D #8D155A
split-complementary
#8D8415 #155A8D #48158D
monochromatic
#222005 #58520D #8D8415 #C2B61D #E2D53B

Accessibility & contrast

On white

3.86
#8D8415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8D8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8415
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8415#FFFFFF#000000##000000
##8D84151.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#94841F
Tritanopia (blue-blind)
#987A70
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8415;
/* rgb */ color: rgb(141, 132, 21);
/* oklch */ color: oklch(60.3% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b2a75f',
    500: '#8d8415',
    950: '#000000',
  },
}
SCSS
$custom: #8d8415;
$custom-light: #b2a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8415",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 55.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.12151,
    "h": 104.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#8D8415
secondary
#3D47C1
accent
#45F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8415

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

Preview Lab → · Contrast checker → · Palette generator →

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