#8E8919#8E8919

#8E8919 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.124 H 106.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E8919
RGBrgb(142, 137, 25)
HSLhsl(57, 70%, 33%)
HSVhsv(57, 82%, 56%)
CMYKcmyk(0%, 3.5%, 82.4%, 44.3%)
CIE-LABlab(55.80, -10.72, 55.01)
CIE-LCHlch(55.80, 56.05, 101.02°)
OKLaboklab(61.53% -0.0359 0.1189)
OKLCHoklch(61.53% 0.124 106.8)
XYZxyz(20.2773, 23.7130, 4.4285)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8919 #191E8E
analogous
#8E4E19 #8E8919 #588E19
triadic
#8E8919 #198E89 #89198E
tetradic
#8E8919 #198E4E #191E8E #8E1958
square
#8E8919 #198E4E #191E8E #8E1958
split-complementary
#8E8919 #19588E #4E198E
monochromatic
#262507 #5A5710 #8E8919 #C2BB22 #DED743

Accessibility & contrast

On white

3.66
#8E8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8E8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8919
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8919#FFFFFF#000000##000000
##8E89191.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8919;
/* rgb */ color: rgb(142, 137, 25);
/* oklch */ color: oklch(61.5% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#b3ab62',
    500: '#8e8919',
    950: '#000000',
  },
}
SCSS
$custom: #8e8919;
$custom-light: #b3ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8919",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 57.436,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.12423,
    "h": 106.8
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#8E8919
secondary
#4449BF
accent
#43ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8919

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

Preview Lab → · Contrast checker → · Palette generator →

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