#8D9518#8D9518

#8D9518 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.2% C 0.137 H 113.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8D9518
RGBrgb(141, 149, 24)
HSLhsl(64, 72%, 34%)
HSVhsv(64, 84%, 58%)
CMYKcmyk(5.4%, 0%, 83.9%, 41.6%)
CIE-LABlab(59.18, -17.54, 58.17)
CIE-LCHlch(59.18, 60.76, 106.78°)
OKLaboklab(64.21% -0.0548 0.1256)
OKLCHoklch(64.21% 0.137 113.6)
XYZxyz(21.8975, 27.2240, 4.9652)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9518 #201895
analogous
#955F18 #8D9518 #4F9518
triadic
#8D9518 #188D95 #95188D
tetradic
#8D9518 #18955F #201895 #95184F
square
#8D9518 #18955F #201895 #95184F
split-complementary
#8D9518 #184F95 #5F1895
monochromatic
#292C07 #5B6010 #8D9518 #BFCA20 #D7E146

Accessibility & contrast

On white

3.26
#8D9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8D9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9518
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9518#FFFFFF#000000##000000
##8D95181.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#978B7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d9518;
/* rgb */ color: rgb(141, 149, 24);
/* oklch */ color: oklch(64.2% 0.137 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b363',
    500: '#8d9518',
    950: '#000000',
  },
}
SCSS
$custom: #8d9518;
$custom-light: #b2b363;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9518",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 63.84,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.13706,
    "h": 113.6
  },
  "luminance": 0.27224
}

Semantic roles & 50–950 ramp

primary
#8D9518
secondary
#4E46C2
accent
#39EF44
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9518

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

Preview Lab → · Contrast checker → · Palette generator →

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