#8E8A46#8E8A46

#8E8A46 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.090 H 105.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8E8A46
RGBrgb(142, 138, 70)
HSLhsl(57, 34%, 42%)
HSVhsv(57, 51%, 56%)
CMYKcmyk(0%, 2.8%, 50.7%, 44.3%)
CIE-LABlab(56.46, -8.37, 36.62)
CIE-LCHlch(56.46, 37.56, 102.88°)
OKLaboklab(62.17% -0.0244 0.0868)
OKLCHoklch(62.17% 0.09 105.7)
XYZxyz(21.3498, 24.3705, 9.3725)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A46 #464A8E
analogous
#8E6646 #8E8A46 #6E8E46
triadic
#8E8A46 #468E8A #8A468E
tetradic
#8E8A46 #468E66 #464A8E #8E466E
square
#8E8A46 #468E66 #464A8E #8E466E
split-complementary
#8E8A46 #466E8E #66468E
monochromatic
#3C3A1E #656232 #8E8A46 #B1AC60 #C5C289

Accessibility & contrast

On white

3.58
#8E8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8E8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A46
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A46#FFFFFF#000000##000000
##8E8A461.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948640
Deuteranopia (green-blind)
#968949
Tritanopia (blue-blind)
#97827A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a46;
/* rgb */ color: rgb(142, 138, 70);
/* oklch */ color: oklch(62.2% 0.090 105.7);
Tailwind
colors: {
  custom: {
    50: '#b1ac7b',
    500: '#8e8a46',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a46;
$custom-light: #b1ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a46",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 56.667,
    "s": 33.962,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.09017,
    "h": 105.7
  },
  "luminance": 0.2437
}

Semantic roles & 50–950 ramp

primary
#8E8A46
secondary
#7F82B0
accent
#64CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#111009
muted
#807F7B

Preview Lab

Preview with #8E8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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