#8A8A58#8A8A58

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

Color values

HEX#8A8A58
RGBrgb(138, 138, 88)
HSLhsl(60, 22%, 44%)
HSVhsv(60, 36%, 54%)
CMYKcmyk(0%, 0%, 36.2%, 45.9%)
CIE-LABlab(56.37, -8.10, 26.82)
CIE-LCHlch(56.37, 28.01, 106.80°)
OKLaboklab(62.11% -0.0218 0.066)
OKLCHoklch(62.11% 0.07 108.3)
XYZxyz(21.3314, 24.2852, 12.7944)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A58 #58588A
analogous
#8A7158 #8A8A58 #718A58
triadic
#8A8A58 #588A8A #8A588A
tetradic
#8A8A58 #588A71 #58588A #8A5871
square
#8A8A58 #588A71 #58588A #8A5871
split-complementary
#8A8A58 #58718A #71588A
monochromatic
#3F3F28 #656540 #8A8A58 #A8A877 #C0C09C

Accessibility & contrast

On white

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

On black

5.86
#8A8A58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A58
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A58#FFFFFF#000000##000000
##8A8A581.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928654
Deuteranopia (green-blind)
#93885A
Tritanopia (blue-blind)
#91847D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a58;
/* rgb */ color: rgb(138, 138, 88);
/* oklch */ color: oklch(62.1% 0.070 108.3);
Tailwind
colors: {
  custom: {
    50: '#adac88',
    500: '#8a8a58',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a58;
$custom-light: #adac88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a58",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 22.124,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.0695,
    "h": 108.3
  },
  "luminance": 0.24285
}

Semantic roles & 50–950 ramp

primary
#8A8A58
secondary
#9090AE
accent
#69BF69
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8A58

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

Preview Lab → · Contrast checker → · Palette generator →

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