#8E8136#8E8136

#8E8136 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.097 H 99.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8E8136
RGBrgb(142, 129, 54)
HSLhsl(51, 45%, 38%)
HSVhsv(51, 62%, 56%)
CMYKcmyk(0%, 9.2%, 62%, 44.3%)
CIE-LABlab(53.73, -4.79, 41.48)
CIE-LCHlch(53.73, 41.75, 96.58°)
OKLaboklab(59.95% -0.016 0.0954)
OKLCHoklch(59.95% 0.097 99.5)
XYZxyz(19.6722, 21.7185, 6.6452)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8136 #36438E
analogous
#8E5536 #8E8136 #6F8E36
triadic
#8E8136 #368E81 #81368E
tetradic
#8E8136 #368E55 #36438E #8E366F
square
#8E8136 #368E55 #36438E #8E366F
split-complementary
#8E8136 #366F8E #55368E
monochromatic
#353014 #625925 #8E8136 #B9A948 #CABE74

Accessibility & contrast

On white

3.93
#8E8136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8E8136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8136
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8136#FFFFFF#000000##000000
##8E81361.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#90833A
Tritanopia (blue-blind)
#987871
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e8136;
/* rgb */ color: rgb(142, 129, 54);
/* oklch */ color: oklch(59.9% 0.097 99.5);
Tailwind
colors: {
  custom: {
    50: '#b1a570',
    500: '#8e8136',
    950: '#000000',
  },
}
SCSS
$custom: #8e8136;
$custom-light: #b1a570;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8136",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 51.136,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.09678,
    "h": 99.5
  },
  "luminance": 0.21718
}

Semantic roles & 50–950 ramp

primary
#8E8136
secondary
#6D77B3
accent
#66D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8E8136

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

Preview Lab → · Contrast checker → · Palette generator →

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