#8A7725#8A7725

#8A7725 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.102 H 95.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A7725
RGBrgb(138, 119, 37)
HSLhsl(49, 58%, 34%)
HSVhsv(49, 73%, 54%)
CMYKcmyk(0%, 13.8%, 73.2%, 45.9%)
CIE-LABlab(50.37, -2.11, 45.55)
CIE-LCHlch(50.37, 45.60, 92.65°)
OKLaboklab(57.15% -0.0102 0.1014)
OKLCHoklch(57.15% 0.102 95.8)
XYZxyz(17.4129, 18.7314, 4.4483)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7725 #25388A
analogous
#8A4525 #8A7725 #6B8A25
triadic
#8A7725 #258A77 #77258A
tetradic
#8A7725 #258A45 #25388A #8A256B
square
#8A7725 #258A45 #25388A #8A256B
split-complementary
#8A7725 #256B8A #45258A
monochromatic
#29240B #5A4D18 #8A7725 #BAA132 #D2BB57

Accessibility & contrast

On white

4.42
#8A7725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A7725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7725
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7725#FFFFFF#000000##000000
##8A77251.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847419
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7725;
/* rgb */ color: rgb(138, 119, 37);
/* oklch */ color: oklch(57.1% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#af9d65',
    500: '#8a7725',
    950: '#000000',
  },
}
SCSS
$custom: #8a7725;
$custom-light: #af9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7725",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 37
  },
  "hsl": {
    "h": 48.713,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.10186,
    "h": 95.8
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#8A7725
secondary
#5467B7
accent
#64E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7725

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

Preview Lab → · Contrast checker → · Palette generator →

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