#8A8552#8A8552

#8A8552 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.071 H 103.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A8552
RGBrgb(138, 133, 82)
HSLhsl(55, 25%, 43%)
HSVhsv(55, 41%, 54%)
CMYKcmyk(0%, 3.6%, 40.6%, 45.9%)
CIE-LABlab(54.85, -6.08, 28.16)
CIE-LCHlch(54.85, 28.81, 102.18°)
OKLaboklab(60.87% -0.0164 0.0688)
OKLCHoklch(60.87% 0.071 103.4)
XYZxyz(20.3921, 22.7880, 11.3053)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8552 #52578A
analogous
#8A6952 #8A8552 #738A52
triadic
#8A8552 #528A85 #85528A
tetradic
#8A8552 #528A69 #52578A #8A5273
square
#8A8552 #528A69 #52578A #8A5273
split-complementary
#8A8552 #52738A #69528A
monochromatic
#3D3B24 #64603B #8A8552 #AAA56F #C1BD96

Accessibility & contrast

On white

3.78
#8A8552 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8A8552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8552
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8552#FFFFFF#000000##000000
##8A85521.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D824E
Deuteranopia (green-blind)
#8F8554
Tritanopia (blue-blind)
#927F78
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8552;
/* rgb */ color: rgb(138, 133, 82);
/* oklch */ color: oklch(60.9% 0.071 103.4);
Tailwind
colors: {
  custom: {
    50: '#ada883',
    500: '#8a8552',
    950: '#000000',
  },
}
SCSS
$custom: #8a8552;
$custom-light: #ada883;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8552",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 54.643,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.07073,
    "h": 103.4
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#8A8552
secondary
#8A8DAE
accent
#6EC266
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A8552

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

Preview Lab → · Contrast checker → · Palette generator →

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