#8A9617#8A9617

#8A9617 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.2% C 0.140 H 115.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A9617
RGBrgb(138, 150, 23)
HSLhsl(66, 73%, 34%)
HSVhsv(66, 85%, 59%)
CMYKcmyk(8%, 0%, 84.7%, 41.2%)
CIE-LABlab(59.23, -19.42, 58.37)
CIE-LCHlch(59.23, 61.52, 108.40°)
OKLaboklab(64.19% -0.0599 0.126)
OKLCHoklch(64.19% 0.14 115.4)
XYZxyz(21.5429, 27.2782, 4.9408)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9617 #231796
analogous
#966317 #8A9617 #4B9617
triadic
#8A9617 #178A96 #96178A
tetradic
#8A9617 #179663 #231796 #96174B
square
#8A9617 #179663 #231796 #96174B
split-complementary
#8A9617 #174B96 #631796
monochromatic
#282C07 #59610F #8A9617 #BBCB1F #D4E245

Accessibility & contrast

On white

3.25
#8A9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9617
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9617#FFFFFF#000000##000000
##8A96171.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A08F25
Tritanopia (blue-blind)
#948D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9617;
/* rgb */ color: rgb(138, 150, 23);
/* oklch */ color: oklch(64.2% 0.140 115.4);
Tailwind
colors: {
  custom: {
    50: '#b0b463',
    500: '#8a9617',
    950: '#000000',
  },
}
SCSS
$custom: #8a9617;
$custom-light: #b0b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9617",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 65.669,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.13953,
    "h": 115.4
  },
  "luminance": 0.27278
}

Semantic roles & 50–950 ramp

primary
#8A9617
secondary
#5145C3
accent
#38F049
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9617

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

Preview Lab → · Contrast checker → · Palette generator →

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