#8B9D1A#8B9D1A

#8B9D1A is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.146 H 117.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8B9D1A
RGBrgb(139, 157, 26)
HSLhsl(68, 72%, 36%)
HSVhsv(68, 83%, 62%)
CMYKcmyk(11.5%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.38, -22.43, 59.48)
CIE-LCHlch(61.38, 63.56, 110.66°)
OKLaboklab(65.94% -0.068 0.1289)
OKLCHoklch(65.94% 0.146 117.8)
XYZxyz(22.8915, 29.6777, 5.4995)
Luminance0.2968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9D1A #2C1A9D
analogous
#9D6D1A #8B9D1A #499D1A
triadic
#8B9D1A #1A8B9D #9D1A8B
tetradic
#8B9D1A #1A9D6D #2C1A9D #9D1A49
square
#8B9D1A #1A9D6D #2C1A9D #9D1A49
split-complementary
#8B9D1A #1A499D #6D1A9D
monochromatic
#2E3409 #5D6811 #8B9D1A #B9D223 #CEE24F

Accessibility & contrast

On white

3.03
#8B9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8B9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9D1A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9D1A#FFFFFF#000000##000000
##8B9D1A1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69528
Tritanopia (blue-blind)
#949486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9d1a;
/* rgb */ color: rgb(139, 157, 26);
/* oklch */ color: oklch(65.9% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#b1b965',
    500: '#8b9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8b9d1a;
$custom-light: #b1b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9d1a",
  "rgb": {
    "r": 139,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 68.244,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.14572,
    "h": 117.8
  },
  "luminance": 0.29677
}

Semantic roles & 50–950 ramp

primary
#8B9D1A
secondary
#5F4EC4
accent
#39EE52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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