#8A7530#8A7530

#8A7530 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.8% C 0.092 H 92.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7530
RGBrgb(138, 117, 48)
HSLhsl(46, 48%, 36%)
HSVhsv(46, 65%, 54%)
CMYKcmyk(0%, 15.2%, 65.2%, 45.9%)
CIE-LABlab(49.91, -0.30, 40.06)
CIE-LCHlch(49.91, 40.06, 90.43°)
OKLaboklab(56.81% -0.0036 0.0916)
OKLCHoklch(56.81% 0.092 92.3)
XYZxyz(17.3768, 18.3402, 5.4205)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7530 #30458A
analogous
#8A4830 #8A7530 #728A30
triadic
#8A7530 #308A75 #75308A
tetradic
#8A7530 #308A48 #30458A #8A3072
square
#8A7530 #308A48 #30458A #8A3072
split-complementary
#8A7530 #30728A #48308A
monochromatic
#2F2810 #5D4F20 #8A7530 #B79B40 #CBB469

Accessibility & contrast

On white

4.50
#8A7530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8A7530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7530
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7530#FFFFFF#000000##000000
##8A75301.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#956C66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7530;
/* rgb */ color: rgb(138, 117, 48);
/* oklch */ color: oklch(56.8% 0.092 92.3);
Tailwind
colors: {
  custom: {
    50: '#af9c6b',
    500: '#8a7530',
    950: '#000000',
  },
}
SCSS
$custom: #8a7530;
$custom-light: #af9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7530",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 48
  },
  "hsl": {
    "h": 46,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.09171,
    "h": 92.3
  },
  "luminance": 0.18339
}

Semantic roles & 50–950 ramp

primary
#8A7530
secondary
#6476B2
accent
#70D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7530

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

Preview Lab → · Contrast checker → · Palette generator →

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