#8A8729#8A8729

#8A8729 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.114 H 107.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A8729
RGBrgb(138, 135, 41)
HSLhsl(58, 54%, 35%)
HSVhsv(58, 70%, 54%)
CMYKcmyk(0%, 2.2%, 70.3%, 45.9%)
CIE-LABlab(54.96, -10.74, 48.48)
CIE-LCHlch(54.96, 49.65, 102.49°)
OKLaboklab(60.8% -0.0342 0.1083)
OKLCHoklch(60.8% 0.114 107.5)
XYZxyz(19.5462, 22.8920, 5.4864)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8729 #292C8A
analogous
#8A5629 #8A8729 #5D8A29
triadic
#8A8729 #298A87 #87298A
tetradic
#8A8729 #298A56 #292C8A #8A295D
square
#8A8729 #298A56 #292C8A #8A295D
split-complementary
#8A8729 #295D8A #56298A
monochromatic
#2C2B0D #5B591B #8A8729 #B9B537 #CFCC5E

Accessibility & contrast

On white

3.76
#8A8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8A8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8729
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8729#FFFFFF#000000##000000
##8A87291.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#947E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8729;
/* rgb */ color: rgb(138, 135, 41);
/* oklch */ color: oklch(60.8% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#afa969',
    500: '#8a8729',
    950: '#000000',
  },
}
SCSS
$custom: #8a8729;
$custom-light: #afa969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8729",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 58.144,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.11355,
    "h": 107.5
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#8A8729
secondary
#5A5DB5
accent
#4FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8729

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

Preview Lab → · Contrast checker → · Palette generator →

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