#8A9819#8A9819

#8A9819 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.141 H 116.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A9819
RGBrgb(138, 152, 25)
HSLhsl(67, 72%, 35%)
HSVhsv(67, 84%, 60%)
CMYKcmyk(9.2%, 0%, 83.6%, 40.4%)
CIE-LABlab(59.83, -20.37, 58.37)
CIE-LCHlch(59.83, 61.82, 109.24°)
OKLaboklab(64.67% -0.0624 0.1263)
OKLCHoklch(64.67% 0.141 116.3)
XYZxyz(21.8856, 27.9303, 5.1577)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9819 #271998
analogous
#986619 #8A9819 #4B9819
triadic
#8A9819 #198A98 #98198A
tetradic
#8A9819 #199866 #271998 #98194B
square
#8A9819 #199866 #271998 #98194B
split-complementary
#8A9819 #194B98 #661998
monochromatic
#2B2F08 #5A6310 #8A9819 #BACD22 #D1E14A

Accessibility & contrast

On white

3.19
#8A9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8A9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9819
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9819#FFFFFF#000000##000000
##8A98191.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#938F81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9819;
/* rgb */ color: rgb(138, 152, 25);
/* oklch */ color: oklch(64.7% 0.141 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b664',
    500: '#8a9819',
    950: '#000000',
  },
}
SCSS
$custom: #8a9819;
$custom-light: #b0b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9819",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 66.614,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.14091,
    "h": 116.3
  },
  "luminance": 0.2793
}

Semantic roles & 50–950 ramp

primary
#8A9819
secondary
#574AC3
accent
#39EE4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9819

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

Preview Lab → · Contrast checker → · Palette generator →

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