#8B9F1A#8B9F1A

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

Color values

HEX#8B9F1A
RGBrgb(139, 159, 26)
HSLhsl(69, 72%, 36%)
HSVhsv(69, 84%, 62%)
CMYKcmyk(12.6%, 0%, 83.6%, 37.6%)
CIE-LABlab(61.96, -23.43, 59.98)
CIE-LCHlch(61.96, 64.40, 111.33°)
OKLaboklab(66.41% -0.0708 0.13)
OKLCHoklch(66.41% 0.148 118.6)
XYZxyz(23.2326, 30.3600, 5.6133)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F1A #2E1A9F
analogous
#9F711A #8B9F1A #489F1A
triadic
#8B9F1A #1A8B9F #9F1A8B
tetradic
#8B9F1A #1A9F71 #2E1A9F #9F1A48
square
#8B9F1A #1A9F71 #2E1A9F #9F1A48
split-complementary
#8B9F1A #1A489F #711A9F
monochromatic
#2F3609 #5D6A11 #8B9F1A #B9D423 #CDE351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B9F1A#FFFFFF#000000##000000
##8B9F1A1.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)
#A89629
Tritanopia (blue-blind)
#949687
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f1a;
/* rgb */ color: rgb(139, 159, 26);
/* oklch */ color: oklch(66.4% 0.148 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bb65',
    500: '#8b9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f1a;
$custom-light: #b1bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f1a",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 69.023,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.14797,
    "h": 118.6
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#8B9F1A
secondary
#6150C5
accent
#39EF54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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