#8A8D16#8A8D16

#8A8D16 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.130 H 111.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A8D16
RGBrgb(138, 141, 22)
HSLhsl(62, 73%, 32%)
HSVhsv(62, 84%, 55%)
CMYKcmyk(2.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(56.60, -14.77, 56.39)
CIE-LCHlch(56.60, 58.29, 104.68°)
OKLaboklab(62.08% -0.0472 0.1215)
OKLCHoklch(62.08% 0.13 111.2)
XYZxyz(20.1517, 24.5115, 4.4286)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D16 #19168D
analogous
#8D5516 #8A8D16 #4E8D16
triadic
#8A8D16 #168A8D #8D168A
tetradic
#8A8D16 #168D55 #19168D #8D164E
square
#8A8D16 #168D55 #19168D #8D164E
split-complementary
#8A8D16 #164E8D #55168D
monochromatic
#222305 #56580E #8A8D16 #BEC21E #DDE13D

Accessibility & contrast

On white

3.56
#8A8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D16
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D16#FFFFFF#000000##000000
##8A8D161.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d16;
/* rgb */ color: rgb(138, 141, 22);
/* oklch */ color: oklch(62.1% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae61',
    500: '#8a8d16',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d16;
$custom-light: #b0ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d16",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 61.513,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.13037,
    "h": 111.2
  },
  "luminance": 0.24511
}

Semantic roles & 50–950 ramp

primary
#8A8D16
secondary
#423EC1
accent
#38F03D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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