#8E8F56#8E8F56

#8E8F56 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.078 H 109.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8E8F56
RGBrgb(142, 143, 86)
HSLhsl(61, 25%, 45%)
HSVhsv(61, 40%, 56%)
CMYKcmyk(0.7%, 0%, 39.9%, 43.9%)
CIE-LABlab(58.10, -9.38, 30.20)
CIE-LCHlch(58.10, 31.62, 107.25°)
OKLaboklab(63.55% -0.0258 0.0736)
OKLCHoklch(63.55% 0.078 109.3)
XYZxyz(22.6578, 26.0680, 12.6403)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F56 #57568F
analogous
#8F7456 #8E8F56 #718F56
triadic
#8E8F56 #568E8F #8F568E
tetradic
#8E8F56 #568F74 #57568F #8F5671
square
#8E8F56 #568F74 #57568F #8F5671
split-complementary
#8E8F56 #56718F #74568F
monochromatic
#424328 #68693F #8E8F56 #ABAC76 #C3C39C

Accessibility & contrast

On white

3.38
#8E8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8E8F56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8F56
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8F56#FFFFFF#000000##000000
##8E8F561.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B52
Deuteranopia (green-blind)
#988D59
Tritanopia (blue-blind)
#958981
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e8f56;
/* rgb */ color: rgb(142, 143, 86);
/* oklch */ color: oklch(63.6% 0.078 109.3);
Tailwind
colors: {
  custom: {
    50: '#b0af86',
    500: '#8e8f56',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f56;
$custom-light: #b0af86;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f56",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 61.053,
    "s": 24.891,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63552,
    "c": 0.07799,
    "h": 109.3
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#8E8F56
secondary
#9090B1
accent
#66C168
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #8E8F56

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

Preview Lab → · Contrast checker → · Palette generator →

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