#8A8A19#8A8A19

#8A8A19 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.126 H 109.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A8A19
RGBrgb(138, 138, 25)
HSLhsl(60, 69%, 32%)
HSVhsv(60, 82%, 54%)
CMYKcmyk(0%, 0%, 81.9%, 45.9%)
CIE-LABlab(55.74, -13.08, 54.82)
CIE-LCHlch(55.74, 56.36, 103.42°)
OKLaboklab(61.39% -0.0423 0.1187)
OKLCHoklch(61.39% 0.126 109.6)
XYZxyz(19.7459, 23.6510, 4.4445)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A19 #19198A
analogous
#8A5219 #8A8A19 #528A19
triadic
#8A8A19 #198A8A #8A198A
tetradic
#8A8A19 #198A52 #19198A #8A1952
square
#8A8A19 #198A52 #19198A #8A1952
split-complementary
#8A8A19 #19528A #52198A
monochromatic
#222206 #565610 #8A8A19 #BEBE22 #DDDD41

Accessibility & contrast

On white

3.66
#8A8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A19
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A19#FFFFFF#000000##000000
##8A8A191.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#948176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a19;
/* rgb */ color: rgb(138, 138, 25);
/* oklch */ color: oklch(61.4% 0.126 109.6);
Tailwind
colors: {
  custom: {
    50: '#b0ab62',
    500: '#8a8a19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a19;
$custom-light: #b0ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a19",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.12601,
    "h": 109.6
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#8A8A19
secondary
#4242BD
accent
#3CEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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