#8A7428#8A7428

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

Color values

HEX#8A7428
RGBrgb(138, 116, 40)
HSLhsl(47, 55%, 35%)
HSVhsv(47, 71%, 54%)
CMYKcmyk(0%, 15.9%, 71%, 45.9%)
CIE-LABlab(49.55, -0.24, 43.42)
CIE-LCHlch(49.55, 43.42, 90.32°)
OKLaboklab(56.51% -0.0045 0.0974)
OKLCHoklch(56.51% 0.098 92.7)
XYZxyz(17.1105, 18.0482, 4.5895)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7428 #283E8A
analogous
#8A4328 #8A7428 #6F8A28
triadic
#8A7428 #288A74 #74288A
tetradic
#8A7428 #288A43 #283E8A #8A286F
square
#8A7428 #288A43 #283E8A #8A286F
split-complementary
#8A7428 #286F8A #43288A
monochromatic
#2B240C #5B4C1A #8A7428 #B99C36 #D0B65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7428#FFFFFF#000000##000000
##8A74281.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)
#81721E
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#956B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7428;
/* rgb */ color: rgb(138, 116, 40);
/* oklch */ color: oklch(56.5% 0.098 92.7);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#8a7428',
    950: '#000000',
  },
}
SCSS
$custom: #8a7428;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7428",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 46.531,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.09751,
    "h": 92.7
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#8A7428
secondary
#596DB5
accent
#6BDE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7428

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

Preview Lab → · Contrast checker → · Palette generator →

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