#8A8819#8A8819

#8A8819 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.124 H 108.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8819
RGBrgb(138, 136, 25)
HSLhsl(59, 69%, 32%)
HSVhsv(59, 82%, 54%)
CMYKcmyk(0%, 1.4%, 81.9%, 45.9%)
CIE-LABlab(55.16, -12.01, 54.32)
CIE-LCHlch(55.16, 55.63, 102.47°)
OKLaboklab(60.93% -0.0393 0.1176)
OKLCHoklch(60.93% 0.124 108.5)
XYZxyz(19.4616, 23.0824, 4.3497)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8819 #191B8A
analogous
#8A5019 #8A8819 #548A19
triadic
#8A8819 #198A88 #88198A
tetradic
#8A8819 #198A50 #191B8A #8A1954
square
#8A8819 #198A50 #191B8A #8A1954
split-complementary
#8A8819 #19548A #50198A
monochromatic
#222206 #565510 #8A8819 #BEBB22 #DDDA41

Accessibility & contrast

On white

3.74
#8A8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8819
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8819#FFFFFF#000000##000000
##8A88191.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#957F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8819;
/* rgb */ color: rgb(138, 136, 25);
/* oklch */ color: oklch(60.9% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#b0aa61',
    500: '#8a8819',
    950: '#000000',
  },
}
SCSS
$custom: #8a8819;
$custom-light: #b0aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8819",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 58.938,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.12401,
    "h": 108.5
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#8A8819
secondary
#4244BD
accent
#3FEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8819

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

Preview Lab → · Contrast checker → · Palette generator →

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