#8A8527#8A8527

#8A8527 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.113 H 106.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A8527
RGBrgb(138, 133, 39)
HSLhsl(57, 56%, 35%)
HSVhsv(57, 72%, 54%)
CMYKcmyk(0%, 3.6%, 71.7%, 45.9%)
CIE-LABlab(54.37, -9.76, 48.70)
CIE-LCHlch(54.37, 49.67, 101.34°)
OKLaboklab(60.33% -0.0317 0.1084)
OKLCHoklch(60.33% 0.113 106.3)
XYZxyz(19.2357, 22.3255, 5.2151)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8527 #272C8A
analogous
#8A5427 #8A8527 #5D8A27
triadic
#8A8527 #278A85 #85278A
tetradic
#8A8527 #278A54 #272C8A #8A275D
square
#8A8527 #278A54 #272C8A #8A275D
split-complementary
#8A8527 #275D8A #54278A
monochromatic
#2B290C #5A571A #8A8527 #BAB334 #D1CB5B

Accessibility & contrast

On white

3.84
#8A8527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A8527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8527
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8527#FFFFFF#000000##000000
##8A85271.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#947C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8527;
/* rgb */ color: rgb(138, 133, 39);
/* oklch */ color: oklch(60.3% 0.113 106.3);
Tailwind
colors: {
  custom: {
    50: '#afa868',
    500: '#8a8527',
    950: '#000000',
  },
}
SCSS
$custom: #8a8527;
$custom-light: #afa868;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8527",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 56.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.11291,
    "h": 106.3
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#8A8527
secondary
#575CB6
accent
#50DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8527

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

Preview Lab → · Contrast checker → · Palette generator →

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