#8B8F17#8B8F17

#8B8F17 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.132 H 111.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8B8F17
RGBrgb(139, 143, 23)
HSLhsl(62, 72%, 33%)
HSVhsv(62, 84%, 56%)
CMYKcmyk(2.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(57.27, -15.34, 56.73)
CIE-LCHlch(57.27, 58.77, 105.13°)
OKLaboklab(62.64% -0.0487 0.1224)
OKLCHoklch(62.64% 0.132 111.7)
XYZxyz(20.6253, 25.1963, 4.5873)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F17 #1B178F
analogous
#8F5717 #8B8F17 #4F8F17
triadic
#8B8F17 #178B8F #8F178B
tetradic
#8B8F17 #178F57 #1B178F #8F174F
square
#8B8F17 #178F57 #1B178F #8F174F
split-complementary
#8B8F17 #174F8F #57178F
monochromatic
#252606 #585A0F #8B8F17 #BEC41F #DBE040

Accessibility & contrast

On white

3.48
#8B8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8B8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F17
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F17#FFFFFF#000000##000000
##8B8F171.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B23
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8f17;
/* rgb */ color: rgb(139, 143, 23);
/* oklch */ color: oklch(62.6% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#b1af62',
    500: '#8b8f17',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f17;
$custom-light: #b1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f17",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 62,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.13175,
    "h": 111.7
  },
  "luminance": 0.25196
}

Semantic roles & 50–950 ramp

primary
#8B8F17
secondary
#4541C1
accent
#39EF3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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