#8A9919#8A9919

#8A9919 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 64.9% C 0.142 H 116.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A9919
RGBrgb(138, 153, 25)
HSLhsl(67, 72%, 35%)
HSVhsv(67, 84%, 60%)
CMYKcmyk(9.8%, 0%, 83.7%, 40%)
CIE-LABlab(60.12, -20.88, 58.62)
CIE-LCHlch(60.12, 62.23, 109.61°)
OKLaboklab(64.91% -0.0638 0.1269)
OKLCHoklch(64.91% 0.142 116.7)
XYZxyz(22.0485, 28.2562, 5.2120)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9919 #281999
analogous
#996819 #8A9919 #4A9919
triadic
#8A9919 #198A99 #99198A
tetradic
#8A9919 #199968 #281999 #99194A
square
#8A9919 #199968 #281999 #99194A
split-complementary
#8A9919 #194A99 #681999
monochromatic
#2B3008 #5B6410 #8A9919 #B9CE22 #D0E24B

Accessibility & contrast

On white

3.16
#8A9919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A9919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9919
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9919#FFFFFF#000000##000000
##8A99191.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#939082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9919;
/* rgb */ color: rgb(138, 153, 25);
/* oklch */ color: oklch(64.9% 0.142 116.7);
Tailwind
colors: {
  custom: {
    50: '#b0b664',
    500: '#8a9919',
    950: '#000000',
  },
}
SCSS
$custom: #8a9919;
$custom-light: #b0b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9919",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 25
  },
  "hsl": {
    "h": 67.031,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.14203,
    "h": 116.7
  },
  "luminance": 0.28256
}

Semantic roles & 50–950 ramp

primary
#8A9919
secondary
#594AC3
accent
#39EF4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9919

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

Preview Lab → · Contrast checker → · Palette generator →

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