#8E8319#8E8319

#8E8319 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.119 H 103.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E8319
RGBrgb(142, 131, 25)
HSLhsl(54, 70%, 33%)
HSVhsv(54, 82%, 56%)
CMYKcmyk(0%, 7.7%, 82.4%, 44.3%)
CIE-LABlab(54.08, -7.46, 53.52)
CIE-LCHlch(54.08, 54.03, 97.93°)
OKLaboklab(60.16% -0.0268 0.1157)
OKLCHoklch(60.16% 0.119 103)
XYZxyz(19.4480, 22.0544, 4.1520)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8319 #19248E
analogous
#8E4819 #8E8319 #5E8E19
triadic
#8E8319 #198E83 #83198E
tetradic
#8E8319 #198E48 #19248E #8E195E
square
#8E8319 #198E48 #19248E #8E195E
split-complementary
#8E8319 #195E8E #48198E
monochromatic
#262307 #5A5310 #8E8319 #C2B322 #DECF43

Accessibility & contrast

On white

3.88
#8E8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8E8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8319
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8319#FFFFFF#000000##000000
##8E83191.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#938422
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8319;
/* rgb */ color: rgb(142, 131, 25);
/* oklch */ color: oklch(60.2% 0.119 103.0);
Tailwind
colors: {
  custom: {
    50: '#b3a661',
    500: '#8e8319',
    950: '#000000',
  },
}
SCSS
$custom: #8e8319;
$custom-light: #b3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8319",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 54.359,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.11877,
    "h": 103
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#8E8319
secondary
#444FBF
accent
#4CED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8319

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

Preview Lab → · Contrast checker → · Palette generator →

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