#8A8A57#8A8A57

#8A8A57 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.071 H 108.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A8A57
RGBrgb(138, 138, 87)
HSLhsl(60, 23%, 44%)
HSVhsv(60, 37%, 54%)
CMYKcmyk(0%, 0%, 37%, 45.9%)
CIE-LABlab(56.36, -8.22, 27.35)
CIE-LCHlch(56.36, 28.56, 106.73°)
OKLaboklab(62.09% -0.0222 0.0672)
OKLCHoklch(62.09% 0.071 108.3)
XYZxyz(21.2902, 24.2688, 12.5778)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A57 #57578A
analogous
#8A7157 #8A8A57 #718A57
triadic
#8A8A57 #578A8A #8A578A
tetradic
#8A8A57 #578A71 #57578A #8A5771
square
#8A8A57 #578A71 #57578A #8A5771
split-complementary
#8A8A57 #57718A #71578A
monochromatic
#3F3F28 #64643F #8A8A57 #A8A876 #C0C09B

Accessibility & contrast

On white

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

On black

5.85
#8A8A57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A57
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A57#FFFFFF#000000##000000
##8A8A571.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8a57;
/* rgb */ color: rgb(138, 138, 87);
/* oklch */ color: oklch(62.1% 0.071 108.3);
Tailwind
colors: {
  custom: {
    50: '#adac87',
    500: '#8a8a57',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a57;
$custom-light: #adac87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a57",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 22.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62087,
    "c": 0.07075,
    "h": 108.3
  },
  "luminance": 0.24268
}

Semantic roles & 50–950 ramp

primary
#8A8A57
secondary
#8F8FAE
accent
#69BF69
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8A57

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

Preview Lab → · Contrast checker → · Palette generator →

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