#8E8718#8E8718

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

Color values

HEX#8E8718
RGBrgb(142, 135, 24)
HSLhsl(56, 71%, 33%)
HSVhsv(56, 83%, 56%)
CMYKcmyk(0%, 4.9%, 83.1%, 44.3%)
CIE-LABlab(55.22, -9.67, 54.80)
CIE-LCHlch(55.22, 55.65, 100.01°)
OKLaboklab(61.07% -0.0331 0.1183)
OKLCHoklch(61.07% 0.123 105.6)
XYZxyz(19.9851, 23.1455, 4.2788)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8718 #181F8E
analogous
#8E4C18 #8E8718 #5A8E18
triadic
#8E8718 #188E87 #87188E
tetradic
#8E8718 #188E4C #181F8E #8E185A
square
#8E8718 #188E4C #181F8E #8E185A
split-complementary
#8E8718 #185A8E #4C188E
monochromatic
#252306 #5A550F #8E8718 #C2B921 #DFD641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8718#FFFFFF#000000##000000
##8E87181.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)
#968622
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8718;
/* rgb */ color: rgb(142, 135, 24);
/* oklch */ color: oklch(61.1% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#b3a961',
    500: '#8e8718',
    950: '#000000',
  },
}
SCSS
$custom: #8e8718;
$custom-light: #b3a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8718",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 56.441,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.12281,
    "h": 105.6
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#8E8718
secondary
#424AC0
accent
#45EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8718

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

Preview Lab → · Contrast checker → · Palette generator →

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