#8D8B17#8D8B17

#8D8B17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.127 H 108.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8D8B17
RGBrgb(141, 139, 23)
HSLhsl(59, 72%, 32%)
HSVhsv(59, 84%, 55%)
CMYKcmyk(0%, 1.4%, 83.7%, 44.7%)
CIE-LABlab(56.28, -12.31, 55.95)
CIE-LCHlch(56.28, 57.29, 102.41°)
OKLaboklab(61.89% -0.0404 0.1206)
OKLCHoklch(61.89% 0.127 108.5)
XYZxyz(20.3726, 24.1905, 4.4065)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B17 #17198D
analogous
#8D5017 #8D8B17 #548D17
triadic
#8D8B17 #178D8B #8B178D
tetradic
#8D8B17 #178D50 #17198D #8D1754
square
#8D8B17 #178D50 #17198D #8D1754
split-complementary
#8D8B17 #17548D #50178D
monochromatic
#242306 #58570E #8D8B17 #C2BF20 #E0DD3F

Accessibility & contrast

On white

3.60
#8D8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8D8B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B17
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B17#FFFFFF#000000##000000
##8D8B171.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#988176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b17;
/* rgb */ color: rgb(141, 139, 23);
/* oklch */ color: oklch(61.9% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac61',
    500: '#8d8b17',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b17;
$custom-light: #b2ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b17",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 58.983,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.12723,
    "h": 108.5
  },
  "luminance": 0.2419
}

Semantic roles & 50–950 ramp

primary
#8D8B17
secondary
#4042C0
accent
#3CEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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