#8A9422#8A9422

#8A9422 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.132 H 114.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9422
RGBrgb(138, 148, 34)
HSLhsl(65, 63%, 36%)
HSVhsv(65, 77%, 58%)
CMYKcmyk(6.8%, 0%, 77%, 42%)
CIE-LABlab(58.69, -17.97, 54.67)
CIE-LCHlch(58.69, 57.55, 108.19°)
OKLaboklab(63.78% -0.0551 0.1201)
OKLCHoklch(63.78% 0.132 114.6)
XYZxyz(21.3605, 26.6990, 5.5412)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9422 #2C2294
analogous
#946522 #8A9422 #519422
triadic
#8A9422 #228A94 #94228A
tetradic
#8A9422 #229465 #2C2294 #942251
square
#8A9422 #229465 #2C2294 #942251
split-complementary
#8A9422 #225194 #652294
monochromatic
#2D300B #5C6217 #8A9422 #B8C62D #CDD958

Accessibility & contrast

On white

3.31
#8A9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9422
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9422#FFFFFF#000000##000000
##8A94221.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9422;
/* rgb */ color: rgb(138, 148, 34);
/* oklch */ color: oklch(63.8% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#afb367',
    500: '#8a9422',
    950: '#000000',
  },
}
SCSS
$custom: #8a9422;
$custom-light: #afb367;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9422",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 65.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.1321,
    "h": 114.6
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#8A9422
secondary
#5E55BD
accent
#42E650
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9422

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

Preview Lab → · Contrast checker → · Palette generator →

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