#8A9520#8A9520

#8A9520 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.134 H 115.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A9520
RGBrgb(138, 149, 32)
HSLhsl(66, 65%, 35%)
HSVhsv(66, 79%, 58%)
CMYKcmyk(7.4%, 0%, 78.5%, 41.6%)
CIE-LABlab(58.98, -18.57, 55.58)
CIE-LCHlch(58.98, 58.60, 108.48°)
OKLaboklab(64% -0.0569 0.1216)
OKLCHoklch(64% 0.134 115.1)
XYZxyz(21.4900, 27.0028, 5.4462)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9520 #2B2095
analogous
#956520 #8A9520 #4F9520
triadic
#8A9520 #208A95 #95208A
tetradic
#8A9520 #209565 #2B2095 #95204F
square
#8A9520 #209565 #2B2095 #95204F
split-complementary
#8A9520 #204F95 #652095
monochromatic
#2D300A #5B6315 #8A9520 #B9C72B #CEDA55

Accessibility & contrast

On white

3.28
#8A9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8A9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9520
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9520#FFFFFF#000000##000000
##8A95201.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#938C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9520;
/* rgb */ color: rgb(138, 149, 32);
/* oklch */ color: oklch(64.0% 0.134 115.1);
Tailwind
colors: {
  custom: {
    50: '#b0b466',
    500: '#8a9520',
    950: '#000000',
  },
}
SCSS
$custom: #8a9520;
$custom-light: #b0b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9520",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 65.641,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64,
    "c": 0.1343,
    "h": 115.1
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#8A9520
secondary
#5D53BE
accent
#40E850
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9520

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

Preview Lab → · Contrast checker → · Palette generator →

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