#8A8A50#8A8A50

#8A8A50 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.079 H 108.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A8A50
RGBrgb(138, 138, 80)
HSLhsl(60, 27%, 43%)
HSVhsv(60, 42%, 54%)
CMYKcmyk(0%, 0%, 42%, 45.9%)
CIE-LABlab(56.25, -9.05, 31.01)
CIE-LCHlch(56.25, 32.31, 106.28°)
OKLaboklab(61.97% -0.0251 0.0752)
OKLCHoklch(61.97% 0.079 108.5)
XYZxyz(21.0180, 24.1599, 11.1440)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A50 #50508A
analogous
#8A6D50 #8A8A50 #6D8A50
triadic
#8A8A50 #508A8A #8A508A
tetradic
#8A8A50 #508A6D #50508A #8A506D
square
#8A8A50 #508A6D #50508A #8A506D
split-complementary
#8A8A50 #506D8A #6D508A
monochromatic
#3D3D23 #63633A #8A8A50 #AAAA6D #C1C194

Accessibility & contrast

On white

3.60
#8A8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A8A50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A50
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A50#FFFFFF#000000##000000
##8A8A501.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864B
Deuteranopia (green-blind)
#938853
Tritanopia (blue-blind)
#91837C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a50;
/* rgb */ color: rgb(138, 138, 80);
/* oklch */ color: oklch(62.0% 0.079 108.5);
Tailwind
colors: {
  custom: {
    50: '#adac82',
    500: '#8a8a50',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a50;
$custom-light: #adac82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a50",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.07925,
    "h": 108.5
  },
  "luminance": 0.24159
}

Semantic roles & 50–950 ramp

primary
#8A8A50
secondary
#8888AE
accent
#65C365
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8A50

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

Preview Lab → · Contrast checker → · Palette generator →

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