#8A8B4E#8A8B4E

#8A8B4E is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.083 H 109.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A8B4E
RGBrgb(138, 139, 78)
HSLhsl(61, 28%, 43%)
HSVhsv(61, 44%, 55%)
CMYKcmyk(0.7%, 0%, 43.9%, 45.5%)
CIE-LABlab(56.50, -9.82, 32.40)
CIE-LCHlch(56.50, 33.86, 106.86°)
OKLaboklab(62.16% -0.0275 0.0782)
OKLCHoklch(62.16% 0.083 109.4)
XYZxyz(21.0893, 24.4190, 10.8086)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B4E #4F4E8B
analogous
#8B6E4E #8A8B4E #6B8B4E
triadic
#8A8B4E #4E8A8B #8B4E8A
tetradic
#8A8B4E #4E8B6E #4F4E8B #8B4E6B
square
#8A8B4E #4E8B6E #4F4E8B #8B4E6B
split-complementary
#8A8B4E #4E6B8B #6E4E8B
monochromatic
#3C3D22 #636438 #8A8B4E #ABAC6B #C1C292

Accessibility & contrast

On white

3.57
#8A8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B4E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B4E#FFFFFF#000000##000000
##8A8B4E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948649
Deuteranopia (green-blind)
#948951
Tritanopia (blue-blind)
#92847C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8b4e;
/* rgb */ color: rgb(138, 139, 78);
/* oklch */ color: oklch(62.2% 0.083 109.4);
Tailwind
colors: {
  custom: {
    50: '#adac81',
    500: '#8a8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b4e;
$custom-light: #adac81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b4e",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 60.984,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62161,
    "c": 0.08286,
    "h": 109.4
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#8A8B4E
secondary
#8787AE
accent
#63C465
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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