#8D8914#8D8914

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

Color values

HEX#8D8914
RGBrgb(141, 137, 20)
HSLhsl(58, 75%, 32%)
HSVhsv(58, 86%, 55%)
CMYKcmyk(0%, 2.8%, 85.8%, 44.7%)
CIE-LABlab(55.69, -11.33, 56.24)
CIE-LCHlch(55.69, 57.37, 101.39°)
OKLaboklab(61.42% -0.0379 0.1207)
OKLCHoklch(61.42% 0.127 107.4)
XYZxyz(20.0573, 23.6053, 4.1614)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8914 #14188D
analogous
#8D4D14 #8D8914 #558D14
triadic
#8D8914 #148D89 #89148D
tetradic
#8D8914 #148D4D #14188D #8D1455
square
#8D8914 #148D4D #14188D #8D1455
split-complementary
#8D8914 #14558D #4D148D
monochromatic
#222105 #57550C #8D8914 #C3BD1C #E3DD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8914#FFFFFF#000000##000000
##8D89141.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)
#978720
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8914;
/* rgb */ color: rgb(141, 137, 20);
/* oklch */ color: oklch(61.4% 0.127 107.4);
Tailwind
colors: {
  custom: {
    50: '#b2ab60',
    500: '#8d8914',
    950: '#000000',
  },
}
SCSS
$custom: #8d8914;
$custom-light: #b2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8914",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 58.017,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.12651,
    "h": 107.4
  },
  "luminance": 0.23605
}

Semantic roles & 50–950 ramp

primary
#8D8914
secondary
#3C40C1
accent
#3CF236
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8914

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

Preview Lab → · Contrast checker → · Palette generator →

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