#8A9620#8A9620

#8A9620 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.2% C 0.135 H 115.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A9620
RGBrgb(138, 150, 32)
HSLhsl(66, 65%, 36%)
HSVhsv(66, 79%, 59%)
CMYKcmyk(8%, 0%, 78.7%, 41.2%)
CIE-LABlab(59.27, -19.09, 55.85)
CIE-LCHlch(59.27, 59.02, 108.87°)
OKLaboklab(64.24% -0.0583 0.1222)
OKLCHoklch(64.24% 0.135 115.5)
XYZxyz(21.6489, 27.3206, 5.4992)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9620 #2C2096
analogous
#966720 #8A9620 #4F9620
triadic
#8A9620 #208A96 #96208A
tetradic
#8A9620 #209667 #2C2096 #96204F
square
#8A9620 #209667 #2C2096 #96204F
split-complementary
#8A9620 #204F96 #672096
monochromatic
#2D310A #5C6415 #8A9620 #B8C82B #CDDB56

Accessibility & contrast

On white

3.25
#8A9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9620
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9620#FFFFFF#000000##000000
##8A96201.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A0902B
Tritanopia (blue-blind)
#938D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9620;
/* rgb */ color: rgb(138, 150, 32);
/* oklch */ color: oklch(64.2% 0.135 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b466',
    500: '#8a9620',
    950: '#000000',
  },
}
SCSS
$custom: #8a9620;
$custom-light: #b0b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9620",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 66.102,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.13542,
    "h": 115.5
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#8A9620
secondary
#5E53BE
accent
#40E851
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9620

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

Preview Lab → · Contrast checker → · Palette generator →

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