#8E8516#8E8516

#8E8516 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.122 H 104.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E8516
RGBrgb(142, 133, 22)
HSLhsl(56, 73%, 32%)
HSVhsv(56, 85%, 56%)
CMYKcmyk(0%, 6.3%, 84.5%, 44.3%)
CIE-LABlab(54.64, -8.65, 54.86)
CIE-LCHlch(54.64, 55.54, 98.96°)
OKLaboklab(60.6% -0.0304 0.118)
OKLCHoklch(60.6% 0.122 104.4)
XYZxyz(19.6886, 22.5846, 4.0811)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8516 #161F8E
analogous
#8E4916 #8E8516 #5B8E16
triadic
#8E8516 #168E85 #85168E
tetradic
#8E8516 #168E49 #161F8E #8E165B
square
#8E8516 #168E49 #161F8E #8E165B
split-complementary
#8E8516 #165B8E #49168E
monochromatic
#242206 #59530E #8E8516 #C3B71E #E1D53D

Accessibility & contrast

On white

3.81
#8E8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8E8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8516
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8516#FFFFFF#000000##000000
##8E85161.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#997B71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8516;
/* rgb */ color: rgb(142, 133, 22);
/* oklch */ color: oklch(60.6% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b3a860',
    500: '#8e8516',
    950: '#000000',
  },
}
SCSS
$custom: #8e8516;
$custom-light: #b3a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8516",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 55.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60603,
    "c": 0.12187,
    "h": 104.4
  },
  "luminance": 0.22584
}

Semantic roles & 50–950 ramp

primary
#8E8516
secondary
#3F49C1
accent
#46F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8516

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

Preview Lab → · Contrast checker → · Palette generator →

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