#8D9017#8D9017

#8D9017 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.0% C 0.132 H 111.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8D9017
RGBrgb(141, 144, 23)
HSLhsl(61, 72%, 33%)
HSVhsv(61, 84%, 56%)
CMYKcmyk(2.1%, 0%, 84%, 43.5%)
CIE-LABlab(57.72, -14.96, 57.19)
CIE-LCHlch(57.72, 59.11, 104.66°)
OKLaboklab(63.04% -0.0478 0.1233)
OKLCHoklch(63.04% 0.132 111.2)
XYZxyz(21.1132, 25.6717, 4.6534)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9017 #1A1790
analogous
#905717 #8D9017 #509017
triadic
#8D9017 #178D90 #90178D
tetradic
#8D9017 #179057 #1A1790 #901750
square
#8D9017 #179057 #1A1790 #901750
split-complementary
#8D9017 #175090 #571790
monochromatic
#262606 #595B0F #8D9017 #C1C51F #DDE141

Accessibility & contrast

On white

3.42
#8D9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8D9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9017
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9017#FFFFFF#000000##000000
##8D90171.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9017;
/* rgb */ color: rgb(141, 144, 23);
/* oklch */ color: oklch(63.0% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b062',
    500: '#8d9017',
    950: '#000000',
  },
}
SCSS
$custom: #8d9017;
$custom-light: #b2b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9017",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 61.488,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.13224,
    "h": 111.2
  },
  "luminance": 0.25671
}

Semantic roles & 50–950 ramp

primary
#8D9017
secondary
#4542C1
accent
#39EF3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9017

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

Preview Lab → · Contrast checker → · Palette generator →

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