#8A9A20#8A9A20

#8A9A20 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.140 H 117.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A9A20
RGBrgb(138, 154, 32)
HSLhsl(68, 66%, 36%)
HSVhsv(68, 79%, 60%)
CMYKcmyk(10.4%, 0%, 79.2%, 39.6%)
CIE-LABlab(60.44, -21.12, 56.91)
CIE-LCHlch(60.44, 60.71, 110.36°)
OKLaboklab(65.18% -0.064 0.1245)
OKLCHoklch(65.18% 0.14 117.2)
XYZxyz(22.2981, 28.6190, 5.7156)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A20 #30209A
analogous
#9A6D20 #8A9A20 #4D9A20
triadic
#8A9A20 #208A9A #9A208A
tetradic
#8A9A20 #209A6D #30209A #9A204D
square
#8A9A20 #209A6D #30209A #9A204D
split-complementary
#8A9A20 #204D9A #6D209A
monochromatic
#2F350B #5D6715 #8A9A20 #B7CD2B #CBDC58

Accessibility & contrast

On white

3.12
#8A9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8A9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A20
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A20#FFFFFF#000000##000000
##8A9A201.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a20;
/* rgb */ color: rgb(138, 154, 32);
/* oklch */ color: oklch(65.2% 0.140 117.2);
Tailwind
colors: {
  custom: {
    50: '#b0b767',
    500: '#8a9a20',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a20;
$custom-light: #b0b767;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a20",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 67.869,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.13995,
    "h": 117.2
  },
  "luminance": 0.28619
}

Semantic roles & 50–950 ramp

primary
#8A9A20
secondary
#6456C0
accent
#3FE955
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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