#8B951B#8B951B

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

Color values

HEX#8B951B
RGBrgb(139, 149, 27)
HSLhsl(65, 69%, 35%)
HSVhsv(65, 82%, 58%)
CMYKcmyk(6.7%, 0%, 81.9%, 41.6%)
CIE-LABlab(59.03, -18.33, 57.16)
CIE-LCHlch(59.03, 60.03, 107.77°)
OKLaboklab(64.06% -0.0567 0.1241)
OKLCHoklch(64.06% 0.136 114.6)
XYZxyz(21.5934, 27.0634, 5.1230)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B951B #251B95
analogous
#95621B #8B951B #4E951B
triadic
#8B951B #1B8B95 #951B8B
tetradic
#8B951B #1B9562 #251B95 #951B4E
square
#8B951B #1B9562 #251B95 #951B4E
split-complementary
#8B951B #1B4E95 #621B95
monochromatic
#2A2D08 #5B6112 #8B951B #BBC924 #D3DF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B951B#FFFFFF#000000##000000
##8B951B1.003.276.416.41
#FFFFFF3.271.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: #8b951b;
/* rgb */ color: rgb(139, 149, 27);
/* oklch */ color: oklch(64.1% 0.136 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8b951b',
    950: '#000000',
  },
}
SCSS
$custom: #8b951b;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8b951b",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 64.918,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64057,
    "c": 0.13641,
    "h": 114.6
  },
  "luminance": 0.27063
}

Semantic roles & 50–950 ramp

primary
#8B951B
secondary
#554BC1
accent
#3CEC4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B951B

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

Preview Lab → · Contrast checker → · Palette generator →

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