#8A8A55#8A8A55

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

Color values

HEX#8A8A55
RGBrgb(138, 138, 85)
HSLhsl(60, 24%, 44%)
HSVhsv(60, 38%, 54%)
CMYKcmyk(0%, 0%, 38.4%, 45.9%)
CIE-LABlab(56.32, -8.47, 28.40)
CIE-LCHlch(56.32, 29.64, 106.60°)
OKLaboklab(62.05% -0.0231 0.0695)
OKLCHoklch(62.05% 0.073 108.4)
XYZxyz(21.2097, 24.2365, 12.1534)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A55 #55558A
analogous
#8A6F55 #8A8A55 #6F8A55
triadic
#8A8A55 #558A8A #8A558A
tetradic
#8A8A55 #558A6F #55558A #8A556F
square
#8A8A55 #558A6F #55558A #8A556F
split-complementary
#8A8A55 #556F8A #6F558A
monochromatic
#3E3E26 #64643E #8A8A55 #A9A973 #C0C099

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8A55#FFFFFF#000000##000000
##8A8A551.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)
#928651
Deuteranopia (green-blind)
#938857
Tritanopia (blue-blind)
#91847D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a55;
/* rgb */ color: rgb(138, 138, 85);
/* oklch */ color: oklch(62.1% 0.073 108.4);
Tailwind
colors: {
  custom: {
    50: '#adac85',
    500: '#8a8a55',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a55;
$custom-light: #adac85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a55",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 23.767,
    "l": 43.725
  },
  "oklch": {
    "l": 0.62051,
    "c": 0.07322,
    "h": 108.4
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#8A8A55
secondary
#8D8DAE
accent
#68C068
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8A55

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

Preview Lab → · Contrast checker → · Palette generator →

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