#8B9B1B#8B9B1B

#8B9B1B is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.143 H 117.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8B9B1B
RGBrgb(139, 155, 27)
HSLhsl(68, 70%, 36%)
HSVhsv(68, 83%, 61%)
CMYKcmyk(10.3%, 0%, 82.6%, 39.2%)
CIE-LABlab(60.79, -21.39, 58.70)
CIE-LCHlch(60.79, 62.48, 110.02°)
OKLaboklab(65.47% -0.0651 0.1274)
OKLCHoklch(65.47% 0.143 117.1)
XYZxyz(22.5672, 29.0111, 5.4476)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9B1B #2B1B9B
analogous
#9B6B1B #8B9B1B #4B9B1B
triadic
#8B9B1B #1B8B9B #9B1B8B
tetradic
#8B9B1B #1B9B6B #2B1B9B #9B1B4B
square
#8B9B1B #1B9B6B #2B1B9B #9B1B4B
split-complementary
#8B9B1B #1B4B9B #6B1B9B
monochromatic
#2E3309 #5C6712 #8B9B1B #BACF24 #CEE050

Accessibility & contrast

On white

3.09
#8B9B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8B9B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9B1B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9B1B#FFFFFF#000000##000000
##8B9B1B1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#949284
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8b9b1b;
/* rgb */ color: rgb(139, 155, 27);
/* oklch */ color: oklch(65.5% 0.143 117.1);
Tailwind
colors: {
  custom: {
    50: '#b1b865',
    500: '#8b9b1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b9b1b;
$custom-light: #b1b865;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9b1b",
  "rgb": {
    "r": 139,
    "g": 155,
    "b": 27
  },
  "hsl": {
    "h": 67.5,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.14305,
    "h": 117.1
  },
  "luminance": 0.29011
}

Semantic roles & 50–950 ramp

primary
#8B9B1B
secondary
#5D4FC3
accent
#3BED51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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