#8E8F4B#8E8F4B

#8E8F4B is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.091 H 109.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8E8F4B
RGBrgb(142, 143, 75)
HSLhsl(61, 31%, 43%)
HSVhsv(61, 48%, 56%)
CMYKcmyk(0.7%, 0%, 47.6%, 43.9%)
CIE-LABlab(57.95, -10.59, 35.83)
CIE-LCHlch(57.95, 37.36, 106.46°)
OKLaboklab(63.38% -0.0302 0.0855)
OKLCHoklch(63.38% 0.091 109.5)
XYZxyz(22.2482, 25.9042, 10.4833)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F4B #4C4B8F
analogous
#8F6E4B #8E8F4B #6C8F4B
triadic
#8E8F4B #4B8E8F #8F4B8E
tetradic
#8E8F4B #4B8F6E #4C4B8F #8F4B6C
square
#8E8F4B #4B8F6E #4C4B8F #8F4B6C
split-complementary
#8E8F4B #4B6C8F #6E4B8F
monochromatic
#3E3F21 #666736 #8E8F4B #AFB068 #C4C590

Accessibility & contrast

On white

3.40
#8E8F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8E8F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8F4B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8F4B#FFFFFF#000000##000000
##8E8F4B1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A45
Deuteranopia (green-blind)
#998C4E
Tritanopia (blue-blind)
#96887F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e8f4b;
/* rgb */ color: rgb(142, 143, 75);
/* oklch */ color: oklch(63.4% 0.091 109.5);
Tailwind
colors: {
  custom: {
    50: '#b0af7f',
    500: '#8e8f4b',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f4b;
$custom-light: #b0af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f4b",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 60.882,
    "s": 31.193,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.09068,
    "h": 109.5
  },
  "luminance": 0.25904
}

Semantic roles & 50–950 ramp

primary
#8E8F4B
secondary
#8685B1
accent
#60C762
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8E8F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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