#8D8715#8D8715

#8D8715 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.124 H 106.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D8715
RGBrgb(141, 135, 21)
HSLhsl(57, 74%, 32%)
HSVhsv(57, 85%, 55%)
CMYKcmyk(0%, 4.3%, 85.1%, 44.7%)
CIE-LABlab(55.12, -10.22, 55.50)
CIE-LCHlch(55.12, 56.43, 100.44°)
OKLaboklab(60.96% -0.0348 0.1193)
OKLCHoklch(60.96% 0.124 106.3)
XYZxyz(19.7847, 23.0456, 4.1154)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8715 #151B8D
analogous
#8D4B15 #8D8715 #578D15
triadic
#8D8715 #158D87 #87158D
tetradic
#8D8715 #158D4B #151B8D #8D1557
square
#8D8715 #158D4B #151B8D #8D1557
split-complementary
#8D8715 #15578D #4B158D
monochromatic
#222105 #58540D #8D8715 #C2BA1D #E2D93B

Accessibility & contrast

On white

3.74
#8D8715 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D8715 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8715
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8715#FFFFFF#000000##000000
##8D87151.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8715;
/* rgb */ color: rgb(141, 135, 21);
/* oklch */ color: oklch(61.0% 0.124 106.3);
Tailwind
colors: {
  custom: {
    50: '#b2a960',
    500: '#8d8715',
    950: '#000000',
  },
}
SCSS
$custom: #8d8715;
$custom-light: #b2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8715",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 21
  },
  "hsl": {
    "h": 57,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.12424,
    "h": 106.3
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

primary
#8D8715
secondary
#3D44C1
accent
#40F137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8715

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

Preview Lab → · Contrast checker → · Palette generator →

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