#8A7124#8A7124

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

Color values

HEX#8A7124
RGBrgb(138, 113, 36)
HSLhsl(45, 59%, 34%)
HSVhsv(45, 74%, 54%)
CMYKcmyk(0%, 18.1%, 73.9%, 45.9%)
CIE-LABlab(48.69, 1.25, 44.30)
CIE-LCHlch(48.69, 44.32, 88.38°)
OKLaboklab(55.82% -0.0007 0.0985)
OKLCHoklch(55.82% 0.099 90.4)
XYZxyz(16.7057, 17.3419, 4.1361)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7124 #243D8A
analogous
#8A3E24 #8A7124 #708A24
triadic
#8A7124 #248A71 #71248A
tetradic
#8A7124 #248A3E #243D8A #8A2470
square
#8A7124 #248A3E #243D8A #8A2470
split-complementary
#8A7124 #24708A #3E248A
monochromatic
#29220B #594917 #8A7124 #BB9931 #D3B456

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7124#FFFFFF#000000##FFFFFF
##8A71241.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)
#7E7019
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#966761
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7124;
/* rgb */ color: rgb(138, 113, 36);
/* oklch */ color: oklch(55.8% 0.099 90.4);
Tailwind
colors: {
  custom: {
    50: '#b09964',
    500: '#8a7124',
    950: '#000000',
  },
}
SCSS
$custom: #8a7124;
$custom-light: #b09964;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7124",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 45.294,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.0985,
    "h": 90.4
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#8A7124
secondary
#536BB7
accent
#6CE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #8A7124

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

Preview Lab → · Contrast checker → · Palette generator →

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