#8A8529#8A8529

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

Color values

HEX#8A8529
RGBrgb(138, 133, 41)
HSLhsl(57, 54%, 35%)
HSVhsv(57, 70%, 54%)
CMYKcmyk(0%, 3.6%, 70.3%, 45.9%)
CIE-LABlab(54.38, -9.65, 47.90)
CIE-LCHlch(54.38, 48.86, 101.39°)
OKLaboklab(60.35% -0.0312 0.1071)
OKLCHoklch(60.35% 0.112 106.2)
XYZxyz(19.2697, 22.3391, 5.3942)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8529 #292E8A
analogous
#8A5429 #8A8529 #5F8A29
triadic
#8A8529 #298A85 #85298A
tetradic
#8A8529 #298A54 #292E8A #8A295F
square
#8A8529 #298A54 #292E8A #8A295F
split-complementary
#8A8529 #295F8A #54298A
monochromatic
#2C2A0D #5B581B #8A8529 #B9B237 #CFC95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8529#FFFFFF#000000##000000
##8A85291.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)
#91801B
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8529;
/* rgb */ color: rgb(138, 133, 41);
/* oklch */ color: oklch(60.3% 0.112 106.2);
Tailwind
colors: {
  custom: {
    50: '#afa869',
    500: '#8a8529',
    950: '#000000',
  },
}
SCSS
$custom: #8a8529;
$custom-light: #afa869;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8529",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 56.907,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.1115,
    "h": 106.2
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#8A8529
secondary
#5A5FB5
accent
#52DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8529

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

Preview Lab → · Contrast checker → · Palette generator →

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