#8B9017#8B9017

#8B9017 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.133 H 112.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B9017
RGBrgb(139, 144, 23)
HSLhsl(62, 72%, 33%)
HSVhsv(62, 84%, 56%)
CMYKcmyk(3.5%, 0%, 84%, 43.5%)
CIE-LABlab(57.56, -15.86, 56.98)
CIE-LCHlch(57.56, 59.14, 105.56°)
OKLaboklab(62.87% -0.0502 0.1229)
OKLCHoklch(62.87% 0.133 112.2)
XYZxyz(20.7761, 25.4979, 4.6376)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9017 #1C1790
analogous
#905817 #8B9017 #4F9017
triadic
#8B9017 #178B90 #90178B
tetradic
#8B9017 #179058 #1C1790 #90174F
square
#8B9017 #179058 #1C1790 #90174F
split-complementary
#8B9017 #174F90 #581790
monochromatic
#252606 #585B0F #8B9017 #BEC51F #DAE141

Accessibility & contrast

On white

3.44
#8B9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9017
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9017#FFFFFF#000000##000000
##8B90171.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C24
Tritanopia (blue-blind)
#95877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b9017;
/* rgb */ color: rgb(139, 144, 23);
/* oklch */ color: oklch(62.9% 0.133 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b062',
    500: '#8b9017',
    950: '#000000',
  },
}
SCSS
$custom: #8b9017;
$custom-light: #b1b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9017",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 62.479,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.13279,
    "h": 112.2
  },
  "luminance": 0.25497
}

Semantic roles & 50–950 ramp

primary
#8B9017
secondary
#4742C1
accent
#39EF40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B9017

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

Preview Lab → · Contrast checker → · Palette generator →

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