#8B9918#8B9918

#8B9918 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.142 H 116.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B9918
RGBrgb(139, 153, 24)
HSLhsl(67, 73%, 35%)
HSVhsv(67, 84%, 60%)
CMYKcmyk(9.2%, 0%, 84.3%, 40%)
CIE-LABlab(60.19, -20.47, 58.97)
CIE-LCHlch(60.19, 62.43, 109.15°)
OKLaboklab(64.99% -0.0628 0.1274)
OKLCHoklch(64.99% 0.142 116.2)
XYZxyz(22.2042, 28.3377, 5.1640)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9918 #261899
analogous
#996718 #8B9918 #4A9918
triadic
#8B9918 #188B99 #99188B
tetradic
#8B9918 #189967 #261899 #99184A
square
#8B9918 #189967 #261899 #99184A
split-complementary
#8B9918 #184A99 #671899
monochromatic
#2B2F07 #5B6410 #8B9918 #BBCE20 #D2E249

Accessibility & contrast

On white

3.15
#8B9918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8B9918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9918
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9918#FFFFFF#000000##000000
##8B99181.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#949082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b9918;
/* rgb */ color: rgb(139, 153, 24);
/* oklch */ color: oklch(65.0% 0.142 116.2);
Tailwind
colors: {
  custom: {
    50: '#b1b664',
    500: '#8b9918',
    950: '#000000',
  },
}
SCSS
$custom: #8b9918;
$custom-light: #b1b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9918",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 66.512,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64985,
    "c": 0.14207,
    "h": 116.2
  },
  "luminance": 0.28337
}

Semantic roles & 50–950 ramp

primary
#8B9918
secondary
#5649C4
accent
#38F04C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9918

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

Preview Lab → · Contrast checker → · Palette generator →

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