#8A8451#8A8451

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

Color values

HEX#8A8451
RGBrgb(138, 132, 81)
HSLhsl(54, 26%, 43%)
HSVhsv(54, 41%, 54%)
CMYKcmyk(0%, 4.3%, 41.3%, 45.9%)
CIE-LABlab(54.55, -5.64, 28.32)
CIE-LCHlch(54.55, 28.88, 101.26°)
OKLaboklab(60.63% -0.0153 0.0691)
OKLCHoklch(60.63% 0.071 102.4)
XYZxyz(20.2181, 22.5004, 11.0610)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8451 #51578A
analogous
#8A6751 #8A8451 #738A51
triadic
#8A8451 #518A84 #84518A
tetradic
#8A8451 #518A67 #51578A #8A5173
square
#8A8451 #518A67 #51578A #8A5173
split-complementary
#8A8451 #51738A #67518A
monochromatic
#3D3A24 #635F3A #8A8451 #AAA46E #C1BC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8451#FFFFFF#000000##000000
##8A84511.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)
#8D814D
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#927E77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8451;
/* rgb */ color: rgb(138, 132, 81);
/* oklch */ color: oklch(60.6% 0.071 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada782',
    500: '#8a8451',
    950: '#000000',
  },
}
SCSS
$custom: #8a8451;
$custom-light: #ada782;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8451",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 53.684,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.07078,
    "h": 102.4
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

primary
#8A8451
secondary
#898DAE
accent
#6FC265
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A8451

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

Preview Lab → · Contrast checker → · Palette generator →

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