#A78A26#A78A26

#A78A26 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.3% C 0.118 H 91.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A78A26
RGBrgb(167, 138, 38)
HSLhsl(47, 63%, 40%)
HSVhsv(47, 77%, 65%)
CMYKcmyk(0%, 17.4%, 77.2%, 34.5%)
CIE-LABlab(58.54, 0.66, 54.06)
CIE-LCHlch(58.54, 54.06, 89.30°)
OKLaboklab(64.29% -0.0039 0.1184)
OKLCHoklch(64.29% 0.118 91.9)
XYZxyz(25.3761, 26.5339, 5.6183)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A26 #2643A7
analogous
#A74A26 #A78A26 #83A726
triadic
#A78A26 #26A78A #8A26A7
tetradic
#A78A26 #26A74A #2643A7 #A72683
square
#A78A26 #26A74A #2643A7 #A72683
split-complementary
#A78A26 #2683A7 #4A26A7
monochromatic
#43380F #75611B #A78A26 #D2AF38 #DDC36A

Accessibility & contrast

On white

3.33
#A78A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A78A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A26
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A26#FFFFFF#000000##000000
##A78A261.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a26;
/* rgb */ color: rgb(167, 138, 38);
/* oklch */ color: oklch(64.3% 0.118 91.9);
Tailwind
colors: {
  custom: {
    50: '#c5ab68',
    500: '#a78a26',
    950: '#000000',
  },
}
SCSS
$custom: #a78a26;
$custom-light: #c5ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a26",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 46.512,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6429,
    "c": 0.11842,
    "h": 91.9
  },
  "luminance": 0.26532
}

Semantic roles & 50–950 ramp

primary
#A78A26
secondary
#657BC3
accent
#67E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78A26

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

Preview Lab → · Contrast checker → · Palette generator →

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