#8B931A#8B931A

#8B931A is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.6% C 0.135 H 113.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8B931A
RGBrgb(139, 147, 26)
HSLhsl(64, 70%, 34%)
HSVhsv(64, 82%, 58%)
CMYKcmyk(5.4%, 0%, 82.3%, 42.4%)
CIE-LABlab(58.44, -17.33, 56.93)
CIE-LCHlch(58.44, 59.51, 106.93°)
OKLaboklab(63.58% -0.054 0.1234)
OKLCHoklch(63.58% 0.135 113.6)
XYZxyz(21.2683, 26.4314, 4.9585)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B931A #221A93
analogous
#935F1A #8B931A #4F931A
triadic
#8B931A #1A8B93 #931A8B
tetradic
#8B931A #1A935F #221A93 #931A4F
square
#8B931A #1A935F #221A93 #931A4F
split-complementary
#8B931A #1A4F93 #5F1A93
monochromatic
#292B08 #5A5F11 #8B931A #BCC723 #D5DF49

Accessibility & contrast

On white

3.34
#8B931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8B931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B931A
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B931A#FFFFFF#000000##000000
##8B931A1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8B00
Deuteranopia (green-blind)
#9E8E26
Tritanopia (blue-blind)
#958A7D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b931a;
/* rgb */ color: rgb(139, 147, 26);
/* oklch */ color: oklch(63.6% 0.135 113.6);
Tailwind
colors: {
  custom: {
    50: '#b0b263',
    500: '#8b931a',
    950: '#000000',
  },
}
SCSS
$custom: #8b931a;
$custom-light: #b0b263;
$custom-dark: #000000;
JSON
{
  "hex": "#8b931a",
  "rgb": {
    "r": 139,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 63.967,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63584,
    "c": 0.13469,
    "h": 113.6
  },
  "luminance": 0.26431
}

Semantic roles & 50–950 ramp

primary
#8B931A
secondary
#5048C0
accent
#3BED47
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B931A

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

Preview Lab → · Contrast checker → · Palette generator →

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