#8A8329#8A8329

#8A8329 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.110 H 104.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A8329
RGBrgb(138, 131, 41)
HSLhsl(56, 54%, 35%)
HSVhsv(56, 70%, 54%)
CMYKcmyk(0%, 5.1%, 70.3%, 45.9%)
CIE-LABlab(53.81, -8.56, 47.32)
CIE-LCHlch(53.81, 48.09, 100.26°)
OKLaboklab(59.89% -0.0281 0.1058)
OKLCHoklch(59.89% 0.11 104.9)
XYZxyz(18.9985, 21.7967, 5.3038)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8329 #29308A
analogous
#8A5229 #8A8329 #618A29
triadic
#8A8329 #298A83 #83298A
tetradic
#8A8329 #298A52 #29308A #8A2961
square
#8A8329 #298A52 #29308A #8A2961
split-complementary
#8A8329 #29618A #52298A
monochromatic
#2C290D #5B561B #8A8329 #B9B037 #CFC75E

Accessibility & contrast

On white

3.92
#8A8329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A8329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8329
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8329#FFFFFF#000000##000000
##8A83291.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#947A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8329;
/* rgb */ color: rgb(138, 131, 41);
/* oklch */ color: oklch(59.9% 0.110 104.9);
Tailwind
colors: {
  custom: {
    50: '#afa668',
    500: '#8a8329',
    950: '#000000',
  },
}
SCSS
$custom: #8a8329;
$custom-light: #afa668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8329",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 55.67,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.1095,
    "h": 104.9
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#8A8329
secondary
#5A61B5
accent
#55DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8329

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

Preview Lab → · Contrast checker → · Palette generator →

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