#8A8C19#8A8C19

#8A8C19 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.128 H 110.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A8C19
RGBrgb(138, 140, 25)
HSLhsl(61, 70%, 32%)
HSVhsv(61, 82%, 55%)
CMYKcmyk(1.4%, 0%, 82.1%, 45.1%)
CIE-LABlab(56.32, -14.14, 55.33)
CIE-LCHlch(56.32, 57.11, 104.34°)
OKLaboklab(61.86% -0.0452 0.1198)
OKLCHoklch(61.86% 0.128 110.7)
XYZxyz(20.0355, 24.2302, 4.5410)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C19 #1B198C
analogous
#8C5419 #8A8C19 #518C19
triadic
#8A8C19 #198A8C #8C198A
tetradic
#8A8C19 #198C54 #1B198C #8C1951
square
#8A8C19 #198C54 #1B198C #8C1951
split-complementary
#8A8C19 #19518C #54198C
monochromatic
#242406 #575810 #8A8C19 #BDC022 #DBDD42

Accessibility & contrast

On white

3.59
#8A8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C19
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C19#FFFFFF#000000##000000
##8A8C191.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#998824
Tritanopia (blue-blind)
#948377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8c19;
/* rgb */ color: rgb(138, 140, 25);
/* oklch */ color: oklch(61.9% 0.128 110.7);
Tailwind
colors: {
  custom: {
    50: '#b0ad62',
    500: '#8a8c19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c19;
$custom-light: #b0ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c19",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 61.043,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.12805,
    "h": 110.7
  },
  "luminance": 0.2423
}

Semantic roles & 50–950 ramp

primary
#8A8C19
secondary
#4543BE
accent
#3BED3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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