#8A8E4E#8A8E4E

#8A8E4E is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.087 H 111.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A8E4E
RGBrgb(138, 142, 78)
HSLhsl(64, 29%, 43%)
HSVhsv(64, 45%, 56%)
CMYKcmyk(2.8%, 0%, 45.1%, 44.3%)
CIE-LABlab(57.37, -11.44, 33.47)
CIE-LCHlch(57.37, 35.37, 108.87°)
OKLaboklab(62.85% -0.0322 0.0805)
OKLCHoklch(62.85% 0.087 111.8)
XYZxyz(21.5297, 25.2997, 10.9554)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E4E #524E8E
analogous
#8E724E #8A8E4E #6A8E4E
triadic
#8A8E4E #4E8A8E #8E4E8A
tetradic
#8A8E4E #4E8E72 #524E8E #8E4E6A
square
#8A8E4E #4E8E72 #524E8E #8E4E6A
split-complementary
#8A8E4E #4E6A8E #724E8E
monochromatic
#3D3F23 #646638 #8A8E4E #AAAE6B #C1C493

Accessibility & contrast

On white

3.47
#8A8E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8A8E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E4E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E4E#FFFFFF#000000##000000
##8A8E4E1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978949
Deuteranopia (green-blind)
#978B51
Tritanopia (blue-blind)
#91877F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8e4e;
/* rgb */ color: rgb(138, 142, 78);
/* oklch */ color: oklch(62.8% 0.087 111.8);
Tailwind
colors: {
  custom: {
    50: '#adaf81',
    500: '#8a8e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e4e;
$custom-light: #adaf81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e4e",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 63.75,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.08672,
    "h": 111.8
  },
  "luminance": 0.25299
}

Semantic roles & 50–950 ramp

primary
#8A8E4E
secondary
#8A88B0
accent
#62C569
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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