#8E8617#8E8617

#8E8617 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.122 H 105.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8E8617
RGBrgb(142, 134, 23)
HSLhsl(56, 72%, 32%)
HSVhsv(56, 84%, 56%)
CMYKcmyk(0%, 5.6%, 83.8%, 44.3%)
CIE-LABlab(54.93, -9.16, 54.83)
CIE-LCHlch(54.93, 55.59, 99.48°)
OKLaboklab(60.83% -0.0317 0.1182)
OKLCHoklch(60.83% 0.122 105)
XYZxyz(19.8360, 22.8637, 4.1787)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8617 #171F8E
analogous
#8E4A17 #8E8617 #5B8E17
triadic
#8E8617 #178E86 #86178E
tetradic
#8E8617 #178E4A #171F8E #8E175B
square
#8E8617 #178E4A #171F8E #8E175B
split-complementary
#8E8617 #175B8E #4A178E
monochromatic
#252306 #59540E #8E8617 #C3B820 #E0D53F

Accessibility & contrast

On white

3.77
#8E8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8E8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8617
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8617#FFFFFF#000000##000000
##8E86171.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958621
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8617;
/* rgb */ color: rgb(142, 134, 23);
/* oklch */ color: oklch(60.8% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b3a860',
    500: '#8e8617',
    950: '#000000',
  },
}
SCSS
$custom: #8e8617;
$custom-light: #b3a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8617",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 55.966,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.12234,
    "h": 105
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#8E8617
secondary
#4049C0
accent
#45EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8617

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

Preview Lab → · Contrast checker → · Palette generator →

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