#8A7425#8A7425

#8A7425 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.100 H 93.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A7425
RGBrgb(138, 116, 37)
HSLhsl(47, 58%, 34%)
HSVhsv(47, 73%, 54%)
CMYKcmyk(0%, 15.9%, 73.2%, 45.9%)
CIE-LABlab(49.53, -0.41, 44.71)
CIE-LCHlch(49.53, 44.71, 90.52°)
OKLaboklab(56.48% -0.0054 0.0996)
OKLCHoklch(56.48% 0.1 93.1)
XYZxyz(17.0615, 18.0286, 4.3311)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7425 #253B8A
analogous
#8A4225 #8A7425 #6E8A25
triadic
#8A7425 #258A74 #74258A
tetradic
#8A7425 #258A42 #253B8A #8A256E
square
#8A7425 #258A42 #253B8A #8A256E
split-complementary
#8A7425 #256E8A #42258A
monochromatic
#29230B #5A4B18 #8A7425 #BA9D32 #D2B757

Accessibility & contrast

On white

4.56
#8A7425 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A7425 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7425
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7425#FFFFFF#000000##000000
##8A74251.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#956A64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7425;
/* rgb */ color: rgb(138, 116, 37);
/* oklch */ color: oklch(56.5% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#af9b65',
    500: '#8a7425',
    950: '#000000',
  },
}
SCSS
$custom: #8a7425;
$custom-light: #af9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7425",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 37
  },
  "hsl": {
    "h": 46.931,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.09971,
    "h": 93.1
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#8A7425
secondary
#546AB7
accent
#68E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7425

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

Preview Lab → · Contrast checker → · Palette generator →

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