#8B9C1F#8B9C1F

#8B9C1F is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.7% C 0.142 H 117.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B9C1F
RGBrgb(139, 156, 31)
HSLhsl(68, 67%, 37%)
HSVhsv(68, 80%, 61%)
CMYKcmyk(10.9%, 0%, 80.1%, 38.8%)
CIE-LABlab(61.10, -21.74, 57.84)
CIE-LCHlch(61.10, 61.79, 110.60°)
OKLaboklab(65.73% -0.0658 0.1262)
OKLCHoklch(65.73% 0.142 117.5)
XYZxyz(22.7838, 29.3651, 5.7638)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9C1F #301F9C
analogous
#9C6F1F #8B9C1F #4D9C1F
triadic
#8B9C1F #1F8B9C #9C1F8B
tetradic
#8B9C1F #1F9C6F #301F9C #9C1F4D
square
#8B9C1F #1F9C6F #301F9C #9C1F4D
split-complementary
#8B9C1F #1F4D9C #6F1F9C
monochromatic
#30360B #5E6915 #8B9C1F #B8CF29 #CCDE58

Accessibility & contrast

On white

3.06
#8B9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8B9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9C1F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9C1F#FFFFFF#000000##000000
##8B9C1F1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#949385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8b9c1f;
/* rgb */ color: rgb(139, 156, 31);
/* oklch */ color: oklch(65.7% 0.142 117.5);
Tailwind
colors: {
  custom: {
    50: '#b0b967',
    500: '#8b9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #8b9c1f;
$custom-light: #b0b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9c1f",
  "rgb": {
    "r": 139,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 68.16,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.14235,
    "h": 117.5
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#8B9C1F
secondary
#6455C1
accent
#3EEA55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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