#A78B26#A78B26

#A78B26 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.119 H 92.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A78B26
RGBrgb(167, 139, 38)
HSLhsl(47, 63%, 40%)
HSVhsv(47, 77%, 65%)
CMYKcmyk(0%, 16.8%, 77.2%, 34.5%)
CIE-LABlab(58.81, 0.11, 54.31)
CIE-LCHlch(58.81, 54.31, 89.88°)
OKLaboklab(64.5% -0.0055 0.1189)
OKLCHoklch(64.5% 0.119 92.6)
XYZxyz(25.5203, 26.8222, 5.6664)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B26 #2642A7
analogous
#A74B26 #A78B26 #82A726
triadic
#A78B26 #26A78B #8B26A7
tetradic
#A78B26 #26A74B #2642A7 #A72682
square
#A78B26 #26A74B #2642A7 #A72682
split-complementary
#A78B26 #2682A7 #4B26A7
monochromatic
#43380F #75621B #A78B26 #D2B138 #DDC46A

Accessibility & contrast

On white

3.30
#A78B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A78B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B26
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B26#FFFFFF#000000##000000
##A78B261.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8913
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#B57F78
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b26;
/* rgb */ color: rgb(167, 139, 38);
/* oklch */ color: oklch(64.5% 0.119 92.6);
Tailwind
colors: {
  custom: {
    50: '#c5ac68',
    500: '#a78b26',
    950: '#000000',
  },
}
SCSS
$custom: #a78b26;
$custom-light: #c5ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b26",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 46.977,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64503,
    "c": 0.11903,
    "h": 92.6
  },
  "luminance": 0.26821
}

Semantic roles & 50–950 ramp

primary
#A78B26
secondary
#657AC3
accent
#65E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78B26

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

Preview Lab → · Contrast checker → · Palette generator →

#A78B26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva