#8B951A#8B951A

#8B951A is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.137 H 114.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B951A
RGBrgb(139, 149, 26)
HSLhsl(65, 70%, 34%)
HSVhsv(65, 83%, 58%)
CMYKcmyk(6.7%, 0%, 82.6%, 41.6%)
CIE-LABlab(59.03, -18.36, 57.44)
CIE-LCHlch(59.03, 60.30, 107.73°)
OKLaboklab(64.05% -0.0569 0.1245)
OKLCHoklch(64.05% 0.137 114.5)
XYZxyz(21.5820, 27.0589, 5.0631)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B951A #241A95
analogous
#95621A #8B951A #4E951A
triadic
#8B951A #1A8B95 #951A8B
tetradic
#8B951A #1A9562 #241A95 #951A4E
square
#8B951A #1A9562 #241A95 #951A4E
split-complementary
#8B951A #1A4E95 #621A95
monochromatic
#2A2D08 #5A6111 #8B951A #BCC923 #D3DF4A

Accessibility & contrast

On white

3.28
#8B951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8B951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B951A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B951A#FFFFFF#000000##000000
##8B951A1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#958C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b951a;
/* rgb */ color: rgb(139, 149, 26);
/* oklch */ color: oklch(64.1% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8b951a',
    950: '#000000',
  },
}
SCSS
$custom: #8b951a;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8b951a",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 64.878,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.13685,
    "h": 114.5
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#8B951A
secondary
#534AC1
accent
#3BED49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B951A

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

Preview Lab → · Contrast checker → · Palette generator →

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