#8E8219#8E8219

#8E8219 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.118 H 102.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8E8219
RGBrgb(142, 130, 25)
HSLhsl(54, 70%, 33%)
HSVhsv(54, 82%, 56%)
CMYKcmyk(0%, 8.5%, 82.4%, 44.3%)
CIE-LABlab(53.80, -6.91, 53.27)
CIE-LCHlch(53.80, 53.72, 97.39°)
OKLaboklab(59.94% -0.0253 0.1152)
OKLCHoklch(59.94% 0.118 102.4)
XYZxyz(19.3144, 21.7871, 4.1075)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8219 #19258E
analogous
#8E4719 #8E8219 #608E19
triadic
#8E8219 #198E82 #82198E
tetradic
#8E8219 #198E47 #19258E #8E1960
square
#8E8219 #198E47 #19258E #8E1960
split-complementary
#8E8219 #19608E #47198E
monochromatic
#262307 #5A5210 #8E8219 #C2B222 #DECE43

Accessibility & contrast

On white

3.92
#8E8219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8E8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8219
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8219#FFFFFF#000000##000000
##8E82191.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8219;
/* rgb */ color: rgb(142, 130, 25);
/* oklch */ color: oklch(59.9% 0.118 102.4);
Tailwind
colors: {
  custom: {
    50: '#b3a661',
    500: '#8e8219',
    950: '#000000',
  },
}
SCSS
$custom: #8e8219;
$custom-light: #b3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8219",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 53.846,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.11791,
    "h": 102.4
  },
  "luminance": 0.21786
}

Semantic roles & 50–950 ramp

primary
#8E8219
secondary
#4450BF
accent
#4DED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8219

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

Preview Lab → · Contrast checker → · Palette generator →

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