#8B9B1F#8B9B1F

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

Color values

HEX#8B9B1F
RGBrgb(139, 155, 31)
HSLhsl(68, 67%, 36%)
HSVhsv(68, 80%, 61%)
CMYKcmyk(10.3%, 0%, 80%, 39.2%)
CIE-LABlab(60.81, -21.24, 57.58)
CIE-LCHlch(60.81, 61.37, 110.25°)
OKLaboklab(65.49% -0.0644 0.1257)
OKLCHoklch(65.49% 0.141 117.1)
XYZxyz(22.6167, 29.0309, 5.7081)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9B1F #2F1F9B
analogous
#9B6D1F #8B9B1F #4D9B1F
triadic
#8B9B1F #1F8B9B #9B1F8B
tetradic
#8B9B1F #1F9B6D #2F1F9B #9B1F4D
square
#8B9B1F #1F9B6D #2F1F9B #9B1F4D
split-complementary
#8B9B1F #1F4D9B #6D1F9B
monochromatic
#30350B #5D6815 #8B9B1F #B9CE29 #CCDD57

Accessibility & contrast

On white

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

On black

6.81
#8B9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9B1F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9B1F#FFFFFF#000000##000000
##8B9B1F1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b9b1f;
/* rgb */ color: rgb(139, 155, 31);
/* oklch */ color: oklch(65.5% 0.141 117.1);
Tailwind
colors: {
  custom: {
    50: '#b0b867',
    500: '#8b9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #8b9b1f;
$custom-light: #b0b867;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9b1f",
  "rgb": {
    "r": 139,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 67.742,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65489,
    "c": 0.14121,
    "h": 117.1
  },
  "luminance": 0.29031
}

Semantic roles & 50–950 ramp

primary
#8B9B1F
secondary
#6355C1
accent
#3EEA54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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