#8D8A16#8D8A16

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

Color values

HEX#8D8A16
RGBrgb(141, 138, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 84%, 55%)
CMYKcmyk(0%, 2.1%, 84.4%, 44.7%)
CIE-LABlab(55.99, -11.81, 55.97)
CIE-LCHlch(55.99, 57.20, 101.91°)
OKLaboklab(61.65% -0.0391 0.1205)
OKLCHoklch(61.65% 0.127 108)
XYZxyz(20.2186, 23.8983, 4.3067)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A16 #16198D
analogous
#8D4E16 #8D8A16 #558D16
triadic
#8D8A16 #168D8A #8A168D
tetradic
#8D8A16 #168D4E #16198D #8D1655
square
#8D8A16 #168D4E #16198D #8D1655
split-complementary
#8D8A16 #16558D #4E168D
monochromatic
#232205 #58560E #8D8A16 #C2BE1E #E1DD3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A16#FFFFFF#000000##000000
##8D8A161.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)
#988821
Tritanopia (blue-blind)
#988075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a16;
/* rgb */ color: rgb(141, 138, 22);
/* oklch */ color: oklch(61.7% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b2ab61',
    500: '#8d8a16',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a16;
$custom-light: #b2ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a16",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 58.487,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.12667,
    "h": 108
  },
  "luminance": 0.23898
}

Semantic roles & 50–950 ramp

primary
#8D8A16
secondary
#3E42C1
accent
#3DF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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