#8E8129#8E8129

#8E8129 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.107 H 100.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E8129
RGBrgb(142, 129, 41)
HSLhsl(52, 55%, 36%)
HSVhsv(52, 71%, 56%)
CMYKcmyk(0%, 9.2%, 71.1%, 44.3%)
CIE-LABlab(53.61, -5.63, 47.24)
CIE-LCHlch(53.61, 47.58, 96.80°)
OKLaboklab(59.82% -0.02 0.1055)
OKLCHoklch(59.82% 0.107 100.7)
XYZxyz(19.4067, 21.6123, 5.2467)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8129 #29368E
analogous
#8E4E29 #8E8129 #688E29
triadic
#8E8129 #298E81 #81298E
tetradic
#8E8129 #298E4E #29368E #8E2968
square
#8E8129 #298E4E #29368E #8E2968
split-complementary
#8E8129 #29688E #4E298E
monochromatic
#2F2B0E #5F561B #8E8129 #BDAC37 #D1C360

Accessibility & contrast

On white

3.95
#8E8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8E8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8129
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8129#FFFFFF#000000##000000
##8E81291.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#99786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e8129;
/* rgb */ color: rgb(142, 129, 41);
/* oklch */ color: oklch(59.8% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#b2a568',
    500: '#8e8129',
    950: '#000000',
  },
}
SCSS
$custom: #8e8129;
$custom-light: #b2a568;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8129",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 52.277,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.10741,
    "h": 100.7
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#8E8129
secondary
#5C68B7
accent
#5CDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8129

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

Preview Lab → · Contrast checker → · Palette generator →

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