#8D8D18#8D8D18

#8D8D18 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.129 H 109.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D8D18
RGBrgb(141, 141, 24)
HSLhsl(60, 71%, 32%)
HSVhsv(60, 83%, 55%)
CMYKcmyk(0%, 0%, 83%, 44.7%)
CIE-LABlab(56.86, -13.35, 56.18)
CIE-LCHlch(56.86, 57.74, 103.36°)
OKLaboklab(62.35% -0.0432 0.1213)
OKLCHoklch(62.35% 0.129 109.6)
XYZxyz(20.6751, 24.7791, 4.5577)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D18 #18188D
analogous
#8D5318 #8D8D18 #538D18
triadic
#8D8D18 #188D8D #8D188D
tetradic
#8D8D18 #188D53 #18188D #8D1853
square
#8D8D18 #188D53 #18188D #8D1853
split-complementary
#8D8D18 #18538D #53188D
monochromatic
#242406 #59590F #8D8D18 #C1C121 #DFDF41

Accessibility & contrast

On white

3.53
#8D8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8D8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D18
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D18#FFFFFF#000000##000000
##8D8D181.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A23
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d18;
/* rgb */ color: rgb(141, 141, 24);
/* oklch */ color: oklch(62.4% 0.129 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae62',
    500: '#8d8d18',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d18;
$custom-light: #b2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d18",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62353,
    "c": 0.12879,
    "h": 109.6
  },
  "luminance": 0.24778
}

Semantic roles & 50–950 ramp

primary
#8D8D18
secondary
#4242BF
accent
#3AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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