#8A9420#8A9420

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

Color values

HEX#8A9420
RGBrgb(138, 148, 32)
HSLhsl(65, 64%, 35%)
HSVhsv(65, 78%, 58%)
CMYKcmyk(6.8%, 0%, 78.4%, 42%)
CIE-LABlab(58.68, -18.06, 55.31)
CIE-LCHlch(58.68, 58.19, 108.08°)
OKLaboklab(63.77% -0.0555 0.1211)
OKLCHoklch(63.77% 0.133 114.6)
XYZxyz(21.3325, 26.6878, 5.3937)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9420 #2A2094
analogous
#946420 #8A9420 #509420
triadic
#8A9420 #208A94 #94208A
tetradic
#8A9420 #209464 #2A2094 #942050
square
#8A9420 #209464 #2A2094 #942050
split-complementary
#8A9420 #205094 #642094
monochromatic
#2C2F0A #5B6215 #8A9420 #B9C62B #CFDA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9420#FFFFFF#000000##000000
##8A94201.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)
#9F8C00
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#938B7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9420;
/* rgb */ color: rgb(138, 148, 32);
/* oklch */ color: oklch(63.8% 0.133 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b366',
    500: '#8a9420',
    950: '#000000',
  },
}
SCSS
$custom: #8a9420;
$custom-light: #b0b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9420",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 65.172,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.13318,
    "h": 114.6
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#8A9420
secondary
#5B52BE
accent
#40E74F
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9420

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

Preview Lab → · Contrast checker → · Palette generator →

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