#8D8615#8D8615

#8D8615 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.123 H 105.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D8615
RGBrgb(141, 134, 21)
HSLhsl(57, 74%, 32%)
HSVhsv(57, 85%, 55%)
CMYKcmyk(0%, 5%, 85.1%, 44.7%)
CIE-LABlab(54.83, -9.68, 55.26)
CIE-LCHlch(54.83, 56.10, 99.94°)
OKLaboklab(60.73% -0.0333 0.1187)
OKLCHoklch(60.73% 0.123 105.7)
XYZxyz(19.6458, 22.7678, 4.0691)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8615 #151C8D
analogous
#8D4A15 #8D8615 #588D15
triadic
#8D8615 #158D86 #86158D
tetradic
#8D8615 #158D4A #151C8D #8D1558
square
#8D8615 #158D4A #151C8D #8D1558
split-complementary
#8D8615 #15588D #4A158D
monochromatic
#222105 #58530D #8D8615 #C2B91D #E2D83B

Accessibility & contrast

On white

3.78
#8D8615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8D8615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8615
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8615#FFFFFF#000000##000000
##8D86151.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8615;
/* rgb */ color: rgb(141, 134, 21);
/* oklch */ color: oklch(60.7% 0.123 105.7);
Tailwind
colors: {
  custom: {
    50: '#b2a860',
    500: '#8d8615',
    950: '#000000',
  },
}
SCSS
$custom: #8d8615;
$custom-light: #b2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8615",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 56.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.12331,
    "h": 105.7
  },
  "luminance": 0.22767
}

Semantic roles & 50–950 ramp

primary
#8D8615
secondary
#3D45C1
accent
#42F137
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8615

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

Preview Lab → · Contrast checker → · Palette generator →

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