#8A9322#8A9322

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

Color values

HEX#8A9322
RGBrgb(138, 147, 34)
HSLhsl(65, 62%, 35%)
HSVhsv(65, 77%, 58%)
CMYKcmyk(6.1%, 0%, 76.9%, 42.4%)
CIE-LABlab(58.40, -17.45, 54.40)
CIE-LCHlch(58.40, 57.13, 107.79°)
OKLaboklab(63.54% -0.0536 0.1195)
OKLCHoklch(63.54% 0.131 114.2)
XYZxyz(21.2043, 26.3866, 5.4892)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9322 #2B2293
analogous
#936322 #8A9322 #519322
triadic
#8A9322 #228A93 #93228A
tetradic
#8A9322 #229363 #2B2293 #932251
square
#8A9322 #229363 #2B2293 #932251
split-complementary
#8A9322 #225193 #632293
monochromatic
#2D300B #5B6117 #8A9322 #B9C52D #CED857

Accessibility & contrast

On white

3.35
#8A9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9322#FFFFFF#000000##000000
##8A93221.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9322;
/* rgb */ color: rgb(138, 147, 34);
/* oklch */ color: oklch(63.5% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb267',
    500: '#8a9322',
    950: '#000000',
  },
}
SCSS
$custom: #8a9322;
$custom-light: #afb267;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9322",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 64.779,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.13099,
    "h": 114.2
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#8A9322
secondary
#5D55BC
accent
#42E54F
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9322

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

Preview Lab → · Contrast checker → · Palette generator →

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