#8A7525#8A7525

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

Color values

HEX#8A7525
RGBrgb(138, 117, 37)
HSLhsl(48, 58%, 34%)
HSVhsv(48, 73%, 54%)
CMYKcmyk(0%, 15.2%, 73.2%, 45.9%)
CIE-LABlab(49.81, -0.98, 44.99)
CIE-LCHlch(49.81, 45.00, 91.24°)
OKLaboklab(56.71% -0.007 0.1002)
OKLCHoklch(56.71% 0.1 94)
XYZxyz(17.1773, 18.2604, 4.3697)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7525 #253A8A
analogous
#8A4325 #8A7525 #6D8A25
triadic
#8A7525 #258A75 #75258A
tetradic
#8A7525 #258A43 #253A8A #8A256D
square
#8A7525 #258A43 #253A8A #8A256D
split-complementary
#8A7525 #256D8A #43258A
monochromatic
#29230B #5A4C18 #8A7525 #BA9E32 #D2B957

Accessibility & contrast

On white

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

On black

4.65
#8A7525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7525
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7525#FFFFFF#000000##000000
##8A75251.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827319
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#956B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7525;
/* rgb */ color: rgb(138, 117, 37);
/* oklch */ color: oklch(56.7% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#af9c65',
    500: '#8a7525',
    950: '#000000',
  },
}
SCSS
$custom: #8a7525;
$custom-light: #af9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7525",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 37
  },
  "hsl": {
    "h": 47.525,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.1004,
    "h": 94
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#8A7525
secondary
#5469B7
accent
#67E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7525

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

Preview Lab → · Contrast checker → · Palette generator →

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