#8B9F17#8B9F17

#8B9F17 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.149 H 118.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B9F17
RGBrgb(139, 159, 23)
HSLhsl(69, 75%, 36%)
HSVhsv(69, 86%, 62%)
CMYKcmyk(12.6%, 0%, 85.5%, 37.6%)
CIE-LABlab(61.95, -23.52, 60.71)
CIE-LCHlch(61.95, 65.11, 111.18°)
OKLaboklab(66.4% -0.0712 0.131)
OKLCHoklch(66.4% 0.149 118.5)
XYZxyz(23.2008, 30.3473, 5.4458)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F17 #2B179F
analogous
#9F6F17 #8B9F17 #479F17
triadic
#8B9F17 #178B9F #9F178B
tetradic
#8B9F17 #179F6F #2B179F #9F1747
square
#8B9F17 #179F6F #2B179F #9F1747
split-complementary
#8B9F17 #17479F #6F179F
monochromatic
#2E3408 #5C6A0F #8B9F17 #BAD41F #CEE54B

Accessibility & contrast

On white

2.97
#8B9F17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8B9F17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F17
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F17#FFFFFF#000000##000000
##8B9F171.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#949687
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f17;
/* rgb */ color: rgb(139, 159, 23);
/* oklch */ color: oklch(66.4% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#b1bb64',
    500: '#8b9f17',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f17;
$custom-light: #b1bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f17",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 68.824,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.664,
    "c": 0.14913,
    "h": 118.5
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

primary
#8B9F17
secondary
#5D4BC7
accent
#36F152
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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