#8A7929#8A7929

#8A7929 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.100 H 97.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7929
RGBrgb(138, 121, 41)
HSLhsl(49, 54%, 35%)
HSVhsv(49, 70%, 54%)
CMYKcmyk(0%, 12.3%, 70.3%, 45.9%)
CIE-LABlab(50.97, -3.01, 44.43)
CIE-LCHlch(50.97, 44.53, 93.88°)
OKLaboklab(57.63% -0.0123 0.0997)
OKLCHoklch(57.63% 0.1 97)
XYZxyz(17.7197, 19.2390, 4.8775)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7929 #293A8A
analogous
#8A4929 #8A7929 #6A8A29
triadic
#8A7929 #298A79 #79298A
tetradic
#8A7929 #298A49 #293A8A #8A296A
square
#8A7929 #298A49 #293A8A #8A296A
split-complementary
#8A7929 #296A8A #49298A
monochromatic
#2C260D #5B501B #8A7929 #B9A237 #CFBB5E

Accessibility & contrast

On white

4.33
#8A7929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7929
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7929#FFFFFF#000000##000000
##8A79291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761E
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7929;
/* rgb */ color: rgb(138, 121, 41);
/* oklch */ color: oklch(57.6% 0.100 97.0);
Tailwind
colors: {
  custom: {
    50: '#af9f67',
    500: '#8a7929',
    950: '#000000',
  },
}
SCSS
$custom: #8a7929;
$custom-light: #af9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7929",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 49.485,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.10049,
    "h": 97
  },
  "luminance": 0.19238
}

Semantic roles & 50–950 ramp

primary
#8A7929
secondary
#5A6AB5
accent
#64DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7929

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

Preview Lab → · Contrast checker → · Palette generator →

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