#8A9922#8A9922

#8A9922 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.138 H 116.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9922
RGBrgb(138, 153, 34)
HSLhsl(68, 64%, 37%)
HSVhsv(68, 78%, 60%)
CMYKcmyk(9.8%, 0%, 77.8%, 40%)
CIE-LABlab(60.16, -20.53, 56.02)
CIE-LCHlch(60.16, 59.67, 110.13°)
OKLaboklab(64.95% -0.0622 0.1229)
OKLCHoklch(64.95% 0.138 116.8)
XYZxyz(22.1618, 28.3015, 5.8083)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9922 #312299
analogous
#996D22 #8A9922 #4F9922
triadic
#8A9922 #228A99 #99228A
tetradic
#8A9922 #22996D #312299 #99224F
square
#8A9922 #22996D #312299 #99224F
split-complementary
#8A9922 #224F99 #6D2299
monochromatic
#30350C #5D6717 #8A9922 #B7CB2D #CADB5B

Accessibility & contrast

On white

3.15
#8A9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8A9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9922
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9922#FFFFFF#000000##000000
##8A99221.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9922;
/* rgb */ color: rgb(138, 153, 34);
/* oklch */ color: oklch(65.0% 0.138 116.8);
Tailwind
colors: {
  custom: {
    50: '#b0b668',
    500: '#8a9922',
    950: '#000000',
  },
}
SCSS
$custom: #8a9922;
$custom-light: #b0b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9922",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 67.563,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.13777,
    "h": 116.8
  },
  "luminance": 0.28301
}

Semantic roles & 50–950 ramp

primary
#8A9922
secondary
#6558BF
accent
#41E756
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9922

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

Preview Lab → · Contrast checker → · Palette generator →

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