#8E8328#8E8328

#8E8328 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.110 H 102.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8E8328
RGBrgb(142, 131, 40)
HSLhsl(54, 56%, 36%)
HSVhsv(54, 72%, 56%)
CMYKcmyk(0%, 7.7%, 71.8%, 44.3%)
CIE-LABlab(54.17, -6.79, 48.22)
CIE-LCHlch(54.17, 48.69, 98.02°)
OKLaboklab(60.26% -0.0234 0.1074)
OKLCHoklch(60.26% 0.11 102.3)
XYZxyz(19.6555, 22.1374, 5.2447)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8328 #28338E
analogous
#8E5028 #8E8328 #668E28
triadic
#8E8328 #288E83 #83288E
tetradic
#8E8328 #288E50 #28338E #8E2866
square
#8E8328 #288E50 #28338E #8E2866
split-complementary
#8E8328 #28668E #50288E
monochromatic
#2F2B0D #5E571B #8E8328 #BEAF35 #D2C55F

Accessibility & contrast

On white

3.87
#8E8328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8E8328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8328
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8328#FFFFFF#000000##000000
##8E83281.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#997A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8328;
/* rgb */ color: rgb(142, 131, 40);
/* oklch */ color: oklch(60.3% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#b2a668',
    500: '#8e8328',
    950: '#000000',
  },
}
SCSS
$custom: #8e8328;
$custom-light: #b2a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8328",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 53.529,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.10993,
    "h": 102.3
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

primary
#8E8328
secondary
#5B65B7
accent
#59DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8328

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

Preview Lab → · Contrast checker → · Palette generator →

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