#8B8D18#8B8D18

#8B8D18 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.129 H 110.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B8D18
RGBrgb(139, 141, 24)
HSLhsl(61, 71%, 32%)
HSVhsv(61, 83%, 55%)
CMYKcmyk(1.4%, 0%, 83%, 44.7%)
CIE-LABlab(56.69, -14.25, 55.96)
CIE-LCHlch(56.69, 57.75, 104.29°)
OKLaboklab(62.18% -0.0457 0.1209)
OKLCHoklch(62.18% 0.129 110.7)
XYZxyz(20.3380, 24.6053, 4.5419)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D18 #1A188D
analogous
#8D5518 #8B8D18 #508D18
triadic
#8B8D18 #188B8D #8D188B
tetradic
#8B8D18 #188D55 #1A188D #8D1850
square
#8B8D18 #188D55 #1A188D #8D1850
split-complementary
#8B8D18 #18508D #55188D
monochromatic
#242406 #57590F #8B8D18 #BFC121 #DCDF41

Accessibility & contrast

On white

3.55
#8B8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8B8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D18
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D18#FFFFFF#000000##000000
##8B8D181.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8924
Tritanopia (blue-blind)
#958478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d18;
/* rgb */ color: rgb(139, 141, 24);
/* oklch */ color: oklch(62.2% 0.129 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8b8d18',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d18;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d18",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 61.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62175,
    "c": 0.12926,
    "h": 110.7
  },
  "luminance": 0.24605
}

Semantic roles & 50–950 ramp

primary
#8B8D18
secondary
#4442BF
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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