#8E8716#8E8716

#8E8716 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.124 H 105.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8E8716
RGBrgb(142, 135, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 85%, 56%)
CMYKcmyk(0%, 4.9%, 84.5%, 44.3%)
CIE-LABlab(55.21, -9.73, 55.35)
CIE-LCHlch(55.21, 56.20, 99.97°)
OKLaboklab(61.06% -0.0334 0.1191)
OKLCHoklch(61.06% 0.124 105.7)
XYZxyz(19.9650, 23.1375, 4.1732)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8716 #161D8E
analogous
#8E4B16 #8E8716 #598E16
triadic
#8E8716 #168E87 #87168E
tetradic
#8E8716 #168E4B #161D8E #8E1659
square
#8E8716 #168E4B #161D8E #8E1659
split-complementary
#8E8716 #16598E #4B168E
monochromatic
#242206 #59550E #8E8716 #C3B91E #E1D73D

Accessibility & contrast

On white

3.73
#8E8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8E8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8716
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8716#FFFFFF#000000##000000
##8E87161.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8716;
/* rgb */ color: rgb(142, 135, 22);
/* oklch */ color: oklch(61.1% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#b3a960',
    500: '#8e8716',
    950: '#000000',
  },
}
SCSS
$custom: #8e8716;
$custom-light: #b3a960;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8716",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 56.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.12367,
    "h": 105.7
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#8E8716
secondary
#3F46C1
accent
#43F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8716

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

Preview Lab → · Contrast checker → · Palette generator →

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