#8A7628#8A7628

#8A7628 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.099 H 94.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7628
RGBrgb(138, 118, 40)
HSLhsl(48, 55%, 35%)
HSVhsv(48, 71%, 54%)
CMYKcmyk(0%, 14.5%, 71%, 45.9%)
CIE-LABlab(50.11, -1.38, 44.00)
CIE-LCHlch(50.11, 44.02, 91.79°)
OKLaboklab(56.95% -0.0078 0.0986)
OKLCHoklch(56.95% 0.099 94.5)
XYZxyz(17.3435, 18.5143, 4.6672)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7628 #283C8A
analogous
#8A4528 #8A7628 #6D8A28
triadic
#8A7628 #288A76 #76288A
tetradic
#8A7628 #288A45 #283C8A #8A286D
square
#8A7628 #288A45 #283C8A #8A286D
split-complementary
#8A7628 #286D8A #45288A
monochromatic
#2B250C #5B4D1A #8A7628 #B99F36 #D0B85D

Accessibility & contrast

On white

4.47
#8A7628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A7628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7628
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7628#FFFFFF#000000##000000
##8A76281.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82741D
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7628;
/* rgb */ color: rgb(138, 118, 40);
/* oklch */ color: oklch(57.0% 0.099 94.5);
Tailwind
colors: {
  custom: {
    50: '#af9d67',
    500: '#8a7628',
    950: '#000000',
  },
}
SCSS
$custom: #8a7628;
$custom-light: #af9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7628",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 47.755,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.09893,
    "h": 94.5
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#8A7628
secondary
#596CB5
accent
#68DE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7628

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

Preview Lab → · Contrast checker → · Palette generator →

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