#8A9622#8A9622

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

Color values

HEX#8A9622
RGBrgb(138, 150, 34)
HSLhsl(66, 63%, 36%)
HSVhsv(66, 77%, 59%)
CMYKcmyk(8%, 0%, 77.3%, 41.2%)
CIE-LABlab(59.28, -19.00, 55.21)
CIE-LCHlch(59.28, 58.39, 108.99°)
OKLaboklab(64.25% -0.0579 0.1212)
OKLCHoklch(64.25% 0.134 115.5)
XYZxyz(21.6769, 27.3318, 5.6467)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9622 #2E2296
analogous
#966822 #8A9622 #509622
triadic
#8A9622 #228A96 #96228A
tetradic
#8A9622 #229668 #2E2296 #962250
square
#8A9622 #229668 #2E2296 #962250
split-complementary
#8A9622 #225096 #682296
monochromatic
#2E320B #5C6417 #8A9622 #B8C82D #CCD959

Accessibility & contrast

On white

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

On black

6.47
#8A9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9622
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9622#FFFFFF#000000##000000
##8A96221.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9622;
/* rgb */ color: rgb(138, 150, 34);
/* oklch */ color: oklch(64.2% 0.134 115.5);
Tailwind
colors: {
  custom: {
    50: '#afb467',
    500: '#8a9622',
    950: '#000000',
  },
}
SCSS
$custom: #8a9622;
$custom-light: #afb467;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9622",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 66.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.13436,
    "h": 115.5
  },
  "luminance": 0.27331
}

Semantic roles & 50–950 ramp

primary
#8A9622
secondary
#6156BE
accent
#42E653
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9622

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

Preview Lab → · Contrast checker → · Palette generator →

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