#8D8A17#8D8A17

#8D8A17 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.126 H 108.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D8A17
RGBrgb(141, 138, 23)
HSLhsl(58, 72%, 32%)
HSVhsv(58, 84%, 55%)
CMYKcmyk(0%, 2.1%, 83.7%, 44.7%)
CIE-LABlab(55.99, -11.78, 55.70)
CIE-LCHlch(55.99, 56.94, 101.94°)
OKLaboklab(61.66% -0.039 0.1201)
OKLCHoklch(61.66% 0.126 108)
XYZxyz(20.2285, 23.9022, 4.3585)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A17 #171A8D
analogous
#8D4F17 #8D8A17 #558D17
triadic
#8D8A17 #178D8A #8A178D
tetradic
#8D8A17 #178D4F #171A8D #8D1755
square
#8D8A17 #178D4F #171A8D #8D1755
split-complementary
#8D8A17 #17558D #4F178D
monochromatic
#242306 #58570E #8D8A17 #C2BD20 #E0DC3F

Accessibility & contrast

On white

3.63
#8D8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8D8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A17
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A17#FFFFFF#000000##000000
##8D8A171.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a17;
/* rgb */ color: rgb(141, 138, 23);
/* oklch */ color: oklch(61.7% 0.126 108.0);
Tailwind
colors: {
  custom: {
    50: '#b2ab61',
    500: '#8d8a17',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a17;
$custom-light: #b2ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a17",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 58.475,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.12625,
    "h": 108
  },
  "luminance": 0.23902
}

Semantic roles & 50–950 ramp

primary
#8D8A17
secondary
#4043C0
accent
#3EEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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