#8B941A#8B941A

#8B941A is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.136 H 114.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8B941A
RGBrgb(139, 148, 26)
HSLhsl(64, 70%, 34%)
HSVhsv(64, 82%, 58%)
CMYKcmyk(6.1%, 0%, 82.4%, 42%)
CIE-LABlab(58.74, -17.85, 57.19)
CIE-LCHlch(58.74, 59.91, 107.33°)
OKLaboklab(63.82% -0.0554 0.1239)
OKLCHoklch(63.82% 0.136 114.1)
XYZxyz(21.4245, 26.7438, 5.0105)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B941A #231A94
analogous
#94601A #8B941A #4E941A
triadic
#8B941A #1A8B94 #941A8B
tetradic
#8B941A #1A9460 #231A94 #941A4E
square
#8B941A #1A9460 #231A94 #941A4E
split-complementary
#8B941A #1A4E94 #601A94
monochromatic
#292C08 #5A6011 #8B941A #BCC823 #D4DF49

Accessibility & contrast

On white

3.31
#8B941A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8B941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B941A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B941A#FFFFFF#000000##000000
##8B941A1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#958B7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b941a;
/* rgb */ color: rgb(139, 148, 26);
/* oklch */ color: oklch(63.8% 0.136 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b364',
    500: '#8b941a',
    950: '#000000',
  },
}
SCSS
$custom: #8b941a;
$custom-light: #b0b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8b941a",
  "rgb": {
    "r": 139,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 64.426,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.13577,
    "h": 114.1
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#8B941A
secondary
#5249C1
accent
#3BED48
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B941A

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

Preview Lab → · Contrast checker → · Palette generator →

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