#8B9819#8B9819

#8B9819 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.141 H 115.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8B9819
RGBrgb(139, 152, 25)
HSLhsl(66, 72%, 35%)
HSVhsv(66, 84%, 60%)
CMYKcmyk(8.6%, 0%, 83.6%, 40.4%)
CIE-LABlab(59.90, -19.93, 58.47)
CIE-LCHlch(59.90, 61.77, 108.83°)
OKLaboklab(64.75% -0.0612 0.1265)
OKLCHoklch(64.75% 0.141 115.8)
XYZxyz(22.0518, 28.0160, 5.1655)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9819 #261998
analogous
#986619 #8B9819 #4B9819
triadic
#8B9819 #198B98 #98198B
tetradic
#8B9819 #199866 #261998 #98194B
square
#8B9819 #199866 #261998 #98194B
split-complementary
#8B9819 #194B98 #661998
monochromatic
#2B2F08 #5B6310 #8B9819 #BBCD22 #D2E14A

Accessibility & contrast

On white

3.18
#8B9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8B9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9819
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9819#FFFFFF#000000##000000
##8B98191.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#948F81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9819;
/* rgb */ color: rgb(139, 152, 25);
/* oklch */ color: oklch(64.8% 0.141 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b664',
    500: '#8b9819',
    950: '#000000',
  },
}
SCSS
$custom: #8b9819;
$custom-light: #b1b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9819",
  "rgb": {
    "r": 139,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 66.142,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.14056,
    "h": 115.8
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#8B9819
secondary
#564AC3
accent
#39EE4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9819

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

Preview Lab → · Contrast checker → · Palette generator →

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