#8A8A54#8A8A54

#8A8A54 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.074 H 108.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A8A54
RGBrgb(138, 138, 84)
HSLhsl(60, 24%, 44%)
HSVhsv(60, 39%, 54%)
CMYKcmyk(0%, 0%, 39.1%, 45.9%)
CIE-LABlab(56.31, -8.59, 28.92)
CIE-LCHlch(56.31, 30.17, 106.53°)
OKLaboklab(62.03% -0.0235 0.0706)
OKLCHoklch(62.03% 0.074 108.4)
XYZxyz(21.1702, 24.2207, 11.9456)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A54 #54548A
analogous
#8A6F54 #8A8A54 #6F8A54
triadic
#8A8A54 #548A8A #8A548A
tetradic
#8A8A54 #548A6F #54548A #8A546F
square
#8A8A54 #548A6F #54548A #8A546F
split-complementary
#8A8A54 #546F8A #6F548A
monochromatic
#3E3E26 #64643D #8A8A54 #A9A972 #C0C098

Accessibility & contrast

On white

3.59
#8A8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A54
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A54#FFFFFF#000000##000000
##8A8A541.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928650
Deuteranopia (green-blind)
#938856
Tritanopia (blue-blind)
#91847D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a54;
/* rgb */ color: rgb(138, 138, 84);
/* oklch */ color: oklch(62.0% 0.074 108.4);
Tailwind
colors: {
  custom: {
    50: '#adac85',
    500: '#8a8a54',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a54;
$custom-light: #adac85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a54",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.07444,
    "h": 108.4
  },
  "luminance": 0.2422
}

Semantic roles & 50–950 ramp

primary
#8A8A54
secondary
#8C8CAE
accent
#67C167
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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