#8A8F4E#8A8F4E

#8A8F4E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.088 H 112.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A8F4E
RGBrgb(138, 143, 78)
HSLhsl(65, 29%, 43%)
HSVhsv(65, 45%, 56%)
CMYKcmyk(3.5%, 0%, 45.5%, 43.9%)
CIE-LABlab(57.65, -11.98, 33.83)
CIE-LCHlch(57.65, 35.89, 109.50°)
OKLaboklab(63.08% -0.0337 0.0813)
OKLCHoklch(63.08% 0.088 112.5)
XYZxyz(21.6791, 25.5986, 11.0052)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F4E #534E8F
analogous
#8F734E #8A8F4E #698F4E
triadic
#8A8F4E #4E8A8F #8F4E8A
tetradic
#8A8F4E #4E8F73 #534E8F #8F4E69
square
#8A8F4E #4E8F73 #534E8F #8F4E69
split-complementary
#8A8F4E #4E698F #734E8F
monochromatic
#3E4023 #646738 #8A8F4E #A9AF6C #C0C493

Accessibility & contrast

On white

3.43
#8A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A8F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F4E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F4E#FFFFFF#000000##000000
##8A8F4E1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#988B51
Tritanopia (blue-blind)
#918880
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8f4e;
/* rgb */ color: rgb(138, 143, 78);
/* oklch */ color: oklch(63.1% 0.088 112.5);
Tailwind
colors: {
  custom: {
    50: '#adaf81',
    500: '#8a8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f4e;
$custom-light: #adaf81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f4e",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 64.615,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63077,
    "c": 0.08803,
    "h": 112.5
  },
  "luminance": 0.25598
}

Semantic roles & 50–950 ramp

primary
#8A8F4E
secondary
#8B88B1
accent
#62C66A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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