#8B9518#8B9518

#8B9518 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.0% C 0.138 H 114.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B9518
RGBrgb(139, 149, 24)
HSLhsl(65, 72%, 34%)
HSVhsv(65, 84%, 58%)
CMYKcmyk(6.7%, 0%, 83.9%, 41.6%)
CIE-LABlab(59.02, -18.43, 57.97)
CIE-LCHlch(59.02, 60.83, 107.64°)
OKLaboklab(64.04% -0.0572 0.1253)
OKLCHoklch(64.04% 0.138 114.5)
XYZxyz(21.5605, 27.0502, 4.9494)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9518 #221895
analogous
#956118 #8B9518 #4D9518
triadic
#8B9518 #188B95 #95188B
tetradic
#8B9518 #189561 #221895 #95184D
square
#8B9518 #189561 #221895 #95184D
split-complementary
#8B9518 #184D95 #611895
monochromatic
#292C07 #5A6010 #8B9518 #BCCA20 #D5E146

Accessibility & contrast

On white

3.28
#8B9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8B9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9518
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9518#FFFFFF#000000##000000
##8B95181.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F25
Tritanopia (blue-blind)
#958C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b9518;
/* rgb */ color: rgb(139, 149, 24);
/* oklch */ color: oklch(64.0% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#b1b463',
    500: '#8b9518',
    950: '#000000',
  },
}
SCSS
$custom: #8b9518;
$custom-light: #b1b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9518",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 64.8,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.13769,
    "h": 114.5
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

primary
#8B9518
secondary
#5046C2
accent
#39EF47
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9518

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

Preview Lab → · Contrast checker → · Palette generator →

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