#8A7125#8A7125

#8A7125 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.098 H 90.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7125
RGBrgb(138, 113, 37)
HSLhsl(45, 58%, 34%)
HSVhsv(45, 73%, 54%)
CMYKcmyk(0%, 18.1%, 73.2%, 45.9%)
CIE-LABlab(48.70, 1.30, 43.87)
CIE-LCHlch(48.70, 43.89, 88.30°)
OKLaboklab(55.83% -0.0004 0.0978)
OKLCHoklch(55.83% 0.098 90.3)
XYZxyz(16.7212, 17.3481, 4.2177)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7125 #253E8A
analogous
#8A3F25 #8A7125 #708A25
triadic
#8A7125 #258A71 #71258A
tetradic
#8A7125 #258A3F #253E8A #8A2570
square
#8A7125 #258A3F #253E8A #8A2570
split-complementary
#8A7125 #25708A #3F258A
monochromatic
#29220B #5A4918 #8A7125 #BA9932 #D2B457

Accessibility & contrast

On white

4.70
#8A7125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8A7125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7125
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7125#FFFFFF#000000##FFFFFF
##8A71251.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701A
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#966762
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7125;
/* rgb */ color: rgb(138, 113, 37);
/* oklch */ color: oklch(55.8% 0.098 90.3);
Tailwind
colors: {
  custom: {
    50: '#b09964',
    500: '#8a7125',
    950: '#000000',
  },
}
SCSS
$custom: #8a7125;
$custom-light: #b09964;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7125",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 37
  },
  "hsl": {
    "h": 45.149,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.09779,
    "h": 90.3
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#8A7125
secondary
#546DB7
accent
#6DE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #8A7125

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

Preview Lab → · Contrast checker → · Palette generator →

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