#8A7528#8A7528

#8A7528 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.7% C 0.098 H 93.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A7528
RGBrgb(138, 117, 40)
HSLhsl(47, 55%, 35%)
HSVhsv(47, 71%, 54%)
CMYKcmyk(0%, 15.2%, 71%, 45.9%)
CIE-LABlab(49.83, -0.81, 43.71)
CIE-LCHlch(49.83, 43.72, 91.06°)
OKLaboklab(56.73% -0.0061 0.098)
OKLCHoklch(56.73% 0.098 93.6)
XYZxyz(17.2264, 18.2800, 4.6281)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7528 #283D8A
analogous
#8A4428 #8A7528 #6E8A28
triadic
#8A7528 #288A75 #75288A
tetradic
#8A7528 #288A44 #283D8A #8A286E
square
#8A7528 #288A44 #283D8A #8A286E
split-complementary
#8A7528 #286E8A #44288A
monochromatic
#2B250C #5B4D1A #8A7528 #B99D36 #D0B75D

Accessibility & contrast

On white

4.51
#8A7528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A7528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7528
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7528#FFFFFF#000000##000000
##8A75281.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7528;
/* rgb */ color: rgb(138, 117, 40);
/* oklch */ color: oklch(56.7% 0.098 93.6);
Tailwind
colors: {
  custom: {
    50: '#af9c67',
    500: '#8a7528',
    950: '#000000',
  },
}
SCSS
$custom: #8a7528;
$custom-light: #af9c67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7528",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 47.143,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.09821,
    "h": 93.6
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#8A7528
secondary
#596CB5
accent
#69DE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7528

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

Preview Lab → · Contrast checker → · Palette generator →

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