#8A9319#8A9319

#8A9319 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.5% C 0.135 H 114.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A9319
RGBrgb(138, 147, 25)
HSLhsl(64, 71%, 34%)
HSVhsv(64, 83%, 58%)
CMYKcmyk(6.1%, 0%, 83%, 42.4%)
CIE-LABlab(58.36, -17.81, 57.10)
CIE-LCHlch(58.36, 59.81, 107.32°)
OKLaboklab(63.49% -0.0553 0.1236)
OKLCHoklch(63.49% 0.135 114.1)
XYZxyz(21.0911, 26.3413, 4.8929)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9319 #221993
analogous
#935F19 #8A9319 #4D9319
triadic
#8A9319 #198A93 #93198A
tetradic
#8A9319 #19935F #221993 #93194D
square
#8A9319 #19935F #221993 #93194D
split-complementary
#8A9319 #194D93 #5F1993
monochromatic
#282A07 #595F10 #8A9319 #BBC722 #D4E047

Accessibility & contrast

On white

3.35
#8A9319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8A9319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9319
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9319#FFFFFF#000000##000000
##8A93191.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#948A7D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9319;
/* rgb */ color: rgb(138, 147, 25);
/* oklch */ color: oklch(63.5% 0.135 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b263',
    500: '#8a9319',
    950: '#000000',
  },
}
SCSS
$custom: #8a9319;
$custom-light: #b0b263;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9319",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 25
  },
  "hsl": {
    "h": 64.426,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.13545,
    "h": 114.1
  },
  "luminance": 0.26341
}

Semantic roles & 50–950 ramp

primary
#8A9319
secondary
#5047C1
accent
#3AEE47
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9319

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

Preview Lab → · Contrast checker → · Palette generator →

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