#8E8A36#8E8A36

#8E8A36 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.106 H 106.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8E8A36
RGBrgb(142, 138, 54)
HSLhsl(57, 45%, 38%)
HSVhsv(57, 62%, 56%)
CMYKcmyk(0%, 2.8%, 62%, 44.3%)
CIE-LABlab(56.28, -9.72, 44.28)
CIE-LCHlch(56.28, 45.34, 102.38°)
OKLaboklab(61.98% -0.0301 0.1014)
OKLCHoklch(61.98% 0.106 106.5)
XYZxyz(20.9103, 24.1947, 7.0579)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A36 #363A8E
analogous
#8E5E36 #8E8A36 #668E36
triadic
#8E8A36 #368E8A #8A368E
tetradic
#8E8A36 #368E5E #363A8E #8E3666
square
#8E8A36 #368E5E #363A8E #8E3666
split-complementary
#8E8A36 #36668E #5E368E
monochromatic
#353414 #625F25 #8E8A36 #B9B448 #CAC674

Accessibility & contrast

On white

3.60
#8E8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8E8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A36
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A36#FFFFFF#000000##000000
##8E8A361.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852C
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a36;
/* rgb */ color: rgb(142, 138, 54);
/* oklch */ color: oklch(62.0% 0.106 106.5);
Tailwind
colors: {
  custom: {
    50: '#b1ab71',
    500: '#8e8a36',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a36;
$custom-light: #b1ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a36",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 57.273,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.10579,
    "h": 106.5
  },
  "luminance": 0.24194
}

Semantic roles & 50–950 ramp

primary
#8E8A36
secondary
#6D70B3
accent
#59D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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