#8B9F1D#8B9F1D

#8B9F1D is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.4% C 0.147 H 118.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B9F1D
RGBrgb(139, 159, 29)
HSLhsl(69, 69%, 37%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12.6%, 0%, 81.8%, 37.6%)
CIE-LABlab(61.98, -23.32, 59.19)
CIE-LCHlch(61.98, 63.62, 111.50°)
OKLaboklab(66.43% -0.0703 0.1288)
OKLCHoklch(66.43% 0.147 118.6)
XYZxyz(23.2679, 30.3741, 5.7992)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F1D #311D9F
analogous
#9F721D #8B9F1D #4A9F1D
triadic
#8B9F1D #1D8B9F #9F1D8B
tetradic
#8B9F1D #1D9F72 #311D9F #9F1D4A
square
#8B9F1D #1D9F72 #311D9F #9F1D4A
split-complementary
#8B9F1D #1D4A9F #721D9F
monochromatic
#31370A #5E6B14 #8B9F1D #B8D326 #CBE056

Accessibility & contrast

On white

2.97
#8B9F1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8B9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F1D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F1D#FFFFFF#000000##000000
##8B9F1D1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8962B
Tritanopia (blue-blind)
#949688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f1d;
/* rgb */ color: rgb(139, 159, 29);
/* oklch */ color: oklch(66.4% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bb66',
    500: '#8b9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f1d;
$custom-light: #b1bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f1d",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 69.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.1467,
    "h": 118.6
  },
  "luminance": 0.30374
}

Semantic roles & 50–950 ramp

primary
#8B9F1D
secondary
#6554C4
accent
#3CEC57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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