#8D8915#8D8915

#8D8915 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.126 H 107.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D8915
RGBrgb(141, 137, 21)
HSLhsl(58, 74%, 32%)
HSVhsv(58, 85%, 55%)
CMYKcmyk(0%, 2.8%, 85.1%, 44.7%)
CIE-LABlab(55.69, -11.30, 55.98)
CIE-LCHlch(55.69, 57.11, 101.41°)
OKLaboklab(61.42% -0.0378 0.1203)
OKLCHoklch(61.42% 0.126 107.4)
XYZxyz(20.0664, 23.6089, 4.2093)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8915 #15198D
analogous
#8D4D15 #8D8915 #558D15
triadic
#8D8915 #158D89 #89158D
tetradic
#8D8915 #158D4D #15198D #8D1555
square
#8D8915 #158D4D #15198D #8D1555
split-complementary
#8D8915 #15558D #4D158D
monochromatic
#222105 #58550D #8D8915 #C2BD1D #E2DC3B

Accessibility & contrast

On white

3.67
#8D8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8D8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8915
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8915#FFFFFF#000000##000000
##8D89151.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8915;
/* rgb */ color: rgb(141, 137, 21);
/* oklch */ color: oklch(61.4% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b2ab60',
    500: '#8d8915',
    950: '#000000',
  },
}
SCSS
$custom: #8d8915;
$custom-light: #b2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8915",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 58,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.12612,
    "h": 107.4
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#8D8915
secondary
#3D41C1
accent
#3DF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8915

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

Preview Lab → · Contrast checker → · Palette generator →

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