#8A8B19#8A8B19

#8A8B19 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.127 H 110.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8B19
RGBrgb(138, 139, 25)
HSLhsl(61, 70%, 32%)
HSVhsv(61, 82%, 55%)
CMYKcmyk(0.7%, 0%, 82%, 45.5%)
CIE-LABlab(56.03, -13.61, 55.07)
CIE-LCHlch(56.03, 56.73, 103.88°)
OKLaboklab(61.63% -0.0437 0.1193)
OKLCHoklch(61.63% 0.127 110.1)
XYZxyz(19.8901, 23.9393, 4.4925)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B19 #1A198B
analogous
#8B5319 #8A8B19 #518B19
triadic
#8A8B19 #198A8B #8B198A
tetradic
#8A8B19 #198B53 #1A198B #8B1951
square
#8A8B19 #198B53 #1A198B #8B1951
split-complementary
#8A8B19 #19518B #53198B
monochromatic
#232306 #575710 #8A8B19 #BDBF22 #DCDD41

Accessibility & contrast

On white

3.63
#8A8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B19
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B19#FFFFFF#000000##000000
##8A8B191.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#948276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b19;
/* rgb */ color: rgb(138, 139, 25);
/* oklch */ color: oklch(61.6% 0.127 110.1);
Tailwind
colors: {
  custom: {
    50: '#b0ac62',
    500: '#8a8b19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b19;
$custom-light: #b0ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b19",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 60.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.12702,
    "h": 110.1
  },
  "luminance": 0.23939
}

Semantic roles & 50–950 ramp

primary
#8A8B19
secondary
#4342BE
accent
#3BEC3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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