#8A9328#8A9328

#8A9328 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.127 H 114.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A9328
RGBrgb(138, 147, 40)
HSLhsl(65, 57%, 37%)
HSVhsv(65, 73%, 58%)
CMYKcmyk(6.1%, 0%, 72.8%, 42.4%)
CIE-LABlab(58.44, -17.15, 52.29)
CIE-LCHlch(58.44, 55.04, 108.16°)
OKLaboklab(63.58% -0.0523 0.1161)
OKLCHoklch(63.58% 0.127 114.2)
XYZxyz(21.2986, 26.4243, 5.9855)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9328 #312893
analogous
#936728 #8A9328 #559328
triadic
#8A9328 #288A93 #93288A
tetradic
#8A9328 #289367 #312893 #932855
square
#8A9328 #289367 #312893 #932855
split-complementary
#8A9328 #285593 #672893
monochromatic
#30330E #5D631B #8A9328 #B7C335 #CAD461

Accessibility & contrast

On white

3.34
#8A9328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8A9328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9328
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9328#FFFFFF#000000##000000
##8A93281.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#9E8D30
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9328;
/* rgb */ color: rgb(138, 147, 40);
/* oklch */ color: oklch(63.6% 0.127 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb26a',
    500: '#8a9328',
    950: '#000000',
  },
}
SCSS
$custom: #8a9328;
$custom-light: #afb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9328",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 40
  },
  "hsl": {
    "h": 65.047,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.12736,
    "h": 114.2
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#8A9328
secondary
#655DBA
accent
#47E054
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9328

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

Preview Lab → · Contrast checker → · Palette generator →

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