#8B951E#8B951E

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

Color values

HEX#8B951E
RGBrgb(139, 149, 30)
HSLhsl(65, 66%, 35%)
HSVhsv(65, 80%, 58%)
CMYKcmyk(6.7%, 0%, 79.9%, 41.6%)
CIE-LABlab(59.05, -18.21, 56.30)
CIE-LCHlch(59.05, 59.17, 107.93°)
OKLaboklab(64.07% -0.0561 0.1228)
OKLCHoklch(64.07% 0.135 114.6)
XYZxyz(21.6299, 27.0780, 5.3152)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B951E #281E95
analogous
#95631E #8B951E #50951E
triadic
#8B951E #1E8B95 #951E8B
tetradic
#8B951E #1E9563 #281E95 #951E50
square
#8B951E #1E9563 #281E95 #951E50
split-complementary
#8B951E #1E5095 #631E95
monochromatic
#2C2F09 #5B6214 #8B951E #BBC828 #D0DC51

Accessibility & contrast

On white

3.27
#8B951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8B951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B951E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B951E#FFFFFF#000000##000000
##8B951E1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b951e;
/* rgb */ color: rgb(139, 149, 30);
/* oklch */ color: oklch(64.1% 0.135 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8b951e',
    950: '#000000',
  },
}
SCSS
$custom: #8b951e;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8b951e",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 65.042,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.13499,
    "h": 114.6
  },
  "luminance": 0.27078
}

Semantic roles & 50–950 ramp

primary
#8B951E
secondary
#5950BF
accent
#3EE94D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B951E

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

Preview Lab → · Contrast checker → · Palette generator →

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