#8E8D3F#8E8D3F

#8E8D3F is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.101 H 108.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E8D3F
RGBrgb(142, 141, 63)
HSLhsl(59, 39%, 40%)
HSVhsv(59, 56%, 56%)
CMYKcmyk(0%, 0.7%, 55.6%, 44.3%)
CIE-LABlab(57.23, -10.63, 41.05)
CIE-LCHlch(57.23, 42.40, 104.52°)
OKLaboklab(62.76% -0.0317 0.0957)
OKLCHoklch(62.76% 0.101 108.3)
XYZxyz(21.5780, 25.1600, 8.4214)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D3F #3F408E
analogous
#8E663F #8E8D3F #678E3F
triadic
#8E8D3F #3F8E8D #8D3F8E
tetradic
#8E8D3F #3F8E66 #3F408E #8E3F67
square
#8E8D3F #3F8E66 #3F408E #8E3F67
split-complementary
#8E8D3F #3F678E #663F8E
monochromatic
#393919 #64632C #8E8D3F #B4B356 #C7C681

Accessibility & contrast

On white

3.48
#8E8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8E8D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D3F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D3F#FFFFFF#000000##000000
##8E8D3F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978837
Deuteranopia (green-blind)
#998B43
Tritanopia (blue-blind)
#97857C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d3f;
/* rgb */ color: rgb(142, 141, 63);
/* oklch */ color: oklch(62.8% 0.101 108.3);
Tailwind
colors: {
  custom: {
    50: '#b1ae77',
    500: '#8e8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d3f;
$custom-light: #b1ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d3f",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 59.241,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62762,
    "c": 0.10078,
    "h": 108.3
  },
  "luminance": 0.25159
}

Semantic roles & 50–950 ramp

primary
#8E8D3F
secondary
#7878B1
accent
#5BCE59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8E8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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