#8A9327#8A9327

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

Color values

HEX#8A9327
RGBrgb(138, 147, 39)
HSLhsl(65, 58%, 36%)
HSVhsv(65, 73%, 58%)
CMYKcmyk(6.1%, 0%, 73.5%, 42.4%)
CIE-LABlab(58.43, -17.21, 52.66)
CIE-LCHlch(58.43, 55.40, 108.10°)
OKLaboklab(63.58% -0.0525 0.1167)
OKLCHoklch(63.58% 0.128 114.2)
XYZxyz(21.2818, 26.4176, 5.8971)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9327 #302793
analogous
#936627 #8A9327 #549327
triadic
#8A9327 #278A93 #93278A
tetradic
#8A9327 #279366 #302793 #932754
square
#8A9327 #279366 #302793 #932754
split-complementary
#8A9327 #275493 #662793
monochromatic
#2F320D #5D631A #8A9327 #B7C334 #CBD560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9327#FFFFFF#000000##000000
##8A93271.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)
#9E8C13
Deuteranopia (green-blind)
#9E8D30
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9327;
/* rgb */ color: rgb(138, 147, 39);
/* oklch */ color: oklch(63.6% 0.128 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb269',
    500: '#8a9327',
    950: '#000000',
  },
}
SCSS
$custom: #8a9327;
$custom-light: #afb269;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9327",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 65,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63575,
    "c": 0.12801,
    "h": 114.2
  },
  "luminance": 0.26417
}

Semantic roles & 50–950 ramp

primary
#8A9327
secondary
#645CBA
accent
#47E153
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9327

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

Preview Lab → · Contrast checker → · Palette generator →

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