#8E8D4E#8E8D4E

#8E8D4E is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.085 H 107.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8E8D4E
RGBrgb(142, 141, 78)
HSLhsl(59, 29%, 43%)
HSVhsv(59, 45%, 56%)
CMYKcmyk(0%, 0.7%, 45.1%, 44.3%)
CIE-LABlab(57.42, -9.19, 33.61)
CIE-LCHlch(57.42, 34.84, 105.30°)
OKLaboklab(62.97% -0.0259 0.0808)
OKLCHoklch(62.97% 0.085 107.8)
XYZxyz(22.0558, 25.3511, 10.9377)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D4E #4E4F8E
analogous
#8E6D4E #8E8D4E #6F8E4E
triadic
#8E8D4E #4E8E8D #8D4E8E
tetradic
#8E8D4E #4E8E6D #4E4F8E #8E4E6F
square
#8E8D4E #4E8E6D #4E4F8E #8E4E6F
split-complementary
#8E8D4E #4E6F8E #6D4E8E
monochromatic
#3F3F23 #666638 #8E8D4E #AEAD6B #C4C393

Accessibility & contrast

On white

3.46
#8E8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8E8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D4E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D4E#FFFFFF#000000##000000
##8E8D4E1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#978B51
Tritanopia (blue-blind)
#96867E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8d4e;
/* rgb */ color: rgb(142, 141, 78);
/* oklch */ color: oklch(63.0% 0.085 107.8);
Tailwind
colors: {
  custom: {
    50: '#b0ae81',
    500: '#8e8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d4e;
$custom-light: #b0ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d4e",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 59.063,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.08486,
    "h": 107.8
  },
  "luminance": 0.25351
}

Semantic roles & 50–950 ramp

primary
#8E8D4E
secondary
#8888B0
accent
#64C562
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8E8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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