#8A9621#8A9621

#8A9621 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.47:1 contrast (WCAG AA passes).

Color values

HEX#8A9621
RGBrgb(138, 150, 33)
HSLhsl(66, 64%, 36%)
HSVhsv(66, 78%, 59%)
CMYKcmyk(8%, 0%, 78%, 41.2%)
CIE-LABlab(59.27, -19.04, 55.53)
CIE-LCHlch(59.27, 58.71, 108.93°)
OKLaboklab(64.24% -0.0581 0.1217)
OKLCHoklch(64.24% 0.135 115.5)
XYZxyz(21.6627, 27.3261, 5.5719)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9621 #2D2196
analogous
#966721 #8A9621 #4F9621
triadic
#8A9621 #218A96 #96218A
tetradic
#8A9621 #219667 #2D2196 #96214F
square
#8A9621 #219667 #2D2196 #96214F
split-complementary
#8A9621 #214F96 #672196
monochromatic
#2E320B #5C6416 #8A9621 #B8C82C #CDDA57

Accessibility & contrast

On white

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

On black

6.47
#8A9621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9621
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9621#FFFFFF#000000##000000
##8A96211.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9621;
/* rgb */ color: rgb(138, 150, 33);
/* oklch */ color: oklch(64.2% 0.135 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b467',
    500: '#8a9621',
    950: '#000000',
  },
}
SCSS
$custom: #8a9621;
$custom-light: #b0b467;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9621",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 66.154,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64241,
    "c": 0.13489,
    "h": 115.5
  },
  "luminance": 0.27326
}

Semantic roles & 50–950 ramp

primary
#8A9621
secondary
#6055BE
accent
#41E752
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9621

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

Preview Lab → · Contrast checker → · Palette generator →

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