#8E8519#8E8519

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

Color values

HEX#8E8519
RGBrgb(142, 133, 25)
HSLhsl(55, 70%, 33%)
HSVhsv(55, 82%, 56%)
CMYKcmyk(0%, 6.3%, 82.4%, 44.3%)
CIE-LABlab(54.65, -8.55, 54.02)
CIE-LCHlch(54.65, 54.69, 98.99°)
OKLaboklab(60.62% -0.0298 0.1168)
OKLCHoklch(60.62% 0.121 104.3)
XYZxyz(19.7192, 22.5969, 4.2424)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8519 #19228E
analogous
#8E4B19 #8E8519 #5C8E19
triadic
#8E8519 #198E85 #85198E
tetradic
#8E8519 #198E4B #19228E #8E195C
square
#8E8519 #198E4B #19228E #8E195C
split-complementary
#8E8519 #195C8E #4B198E
monochromatic
#262407 #5A5410 #8E8519 #C2B622 #DED243

Accessibility & contrast

On white

3.80
#8E8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E8519#FFFFFF#000000##000000
##8E85191.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e8519;
/* rgb */ color: rgb(142, 133, 25);
/* oklch */ color: oklch(60.6% 0.121 104.3);
Tailwind
colors: {
  custom: {
    50: '#b3a861',
    500: '#8e8519',
    950: '#000000',
  },
}
SCSS
$custom: #8e8519;
$custom-light: #b3a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8519",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 55.385,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.12053,
    "h": 104.3
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#8E8519
secondary
#444DBF
accent
#49ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8519

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

Preview Lab → · Contrast checker → · Palette generator →

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