#8A931A#8A931A

#8A931A 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#8A931A
RGBrgb(138, 147, 26)
HSLhsl(64, 70%, 34%)
HSVhsv(64, 82%, 58%)
CMYKcmyk(6.1%, 0%, 82.3%, 42.4%)
CIE-LABlab(58.36, -17.77, 56.83)
CIE-LCHlch(58.36, 59.54, 107.37°)
OKLaboklab(63.5% -0.0552 0.1232)
OKLCHoklch(63.5% 0.135 114.1)
XYZxyz(21.1021, 26.3457, 4.9507)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A931A #231A93
analogous
#93601A #8A931A #4E931A
triadic
#8A931A #1A8A93 #931A8A
tetradic
#8A931A #1A9360 #231A93 #931A4E
square
#8A931A #1A9360 #231A93 #931A4E
split-complementary
#8A931A #1A4E93 #601A93
monochromatic
#282B08 #595F11 #8A931A #BBC723 #D4DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A931A#FFFFFF#000000##000000
##8A931A1.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: #8a931a;
/* rgb */ color: rgb(138, 147, 26);
/* oklch */ color: oklch(63.5% 0.135 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b263',
    500: '#8a931a',
    950: '#000000',
  },
}
SCSS
$custom: #8a931a;
$custom-light: #b0b263;
$custom-dark: #000000;
JSON
{
  "hex": "#8a931a",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 64.463,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.13501,
    "h": 114.1
  },
  "luminance": 0.26345
}

Semantic roles & 50–950 ramp

primary
#8A931A
secondary
#5148C0
accent
#3BED48
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A931A

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

Preview Lab → · Contrast checker → · Palette generator →

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