#8A8450#8A8450

#8A8450 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.072 H 102.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A8450
RGBrgb(138, 132, 80)
HSLhsl(54, 27%, 43%)
HSVhsv(54, 42%, 54%)
CMYKcmyk(0%, 4.3%, 42%, 45.9%)
CIE-LABlab(54.54, -5.76, 28.85)
CIE-LCHlch(54.54, 29.42, 101.28°)
OKLaboklab(60.61% -0.0157 0.0703)
OKLCHoklch(60.61% 0.072 102.6)
XYZxyz(20.1808, 22.4855, 10.8649)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8450 #50568A
analogous
#8A6750 #8A8450 #738A50
triadic
#8A8450 #508A84 #84508A
tetradic
#8A8450 #508A67 #50568A #8A5073
square
#8A8450 #508A67 #50568A #8A5073
split-complementary
#8A8450 #50738A #67508A
monochromatic
#3D3A23 #635F3A #8A8450 #AAA46D #C1BC94

Accessibility & contrast

On white

3.82
#8A8450 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A8450 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8450
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8450#FFFFFF#000000##000000
##8A84501.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814C
Deuteranopia (green-blind)
#8F8452
Tritanopia (blue-blind)
#927D77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8450;
/* rgb */ color: rgb(138, 132, 80);
/* oklch */ color: oklch(60.6% 0.072 102.6);
Tailwind
colors: {
  custom: {
    50: '#ada782',
    500: '#8a8450',
    950: '#000000',
  },
}
SCSS
$custom: #8a8450;
$custom-light: #ada782;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8450",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 53.793,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.072,
    "h": 102.6
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#8A8450
secondary
#888CAE
accent
#6FC365
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A8450

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

Preview Lab → · Contrast checker → · Palette generator →

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