#8E8719#8E8719

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

Color values

HEX#8E8719
RGBrgb(142, 135, 25)
HSLhsl(56, 70%, 33%)
HSVhsv(56, 82%, 56%)
CMYKcmyk(0%, 4.9%, 82.4%, 44.3%)
CIE-LABlab(55.23, -9.64, 54.51)
CIE-LCHlch(55.23, 55.36, 100.02°)
OKLaboklab(61.07% -0.0329 0.1179)
OKLCHoklch(61.07% 0.122 105.6)
XYZxyz(19.9957, 23.1497, 4.3346)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8719 #19208E
analogous
#8E4C19 #8E8719 #5B8E19
triadic
#8E8719 #198E87 #87198E
tetradic
#8E8719 #198E4C #19208E #8E195B
square
#8E8719 #198E4C #19208E #8E195B
split-complementary
#8E8719 #195B8E #4C198E
monochromatic
#262407 #5A5610 #8E8719 #C2B822 #DED543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8e8719;
/* rgb */ color: rgb(142, 135, 25);
/* oklch */ color: oklch(61.1% 0.122 105.6);
Tailwind
colors: {
  custom: {
    50: '#b3a961',
    500: '#8e8719',
    950: '#000000',
  },
}
SCSS
$custom: #8e8719;
$custom-light: #b3a961;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8719",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 56.41,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.12236,
    "h": 105.6
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#8E8719
secondary
#444BBF
accent
#46ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8719

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

Preview Lab → · Contrast checker → · Palette generator →

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