#A78C26#A78C26

#A78C26 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.120 H 93.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C26
RGBrgb(167, 140, 38)
HSLhsl(47, 63%, 40%)
HSVhsv(47, 77%, 65%)
CMYKcmyk(0%, 16.2%, 77.2%, 34.5%)
CIE-LABlab(59.08, -0.44, 54.56)
CIE-LCHlch(59.08, 54.57, 90.46°)
OKLaboklab(64.72% -0.007 0.1194)
OKLCHoklch(64.72% 0.12 93.4)
XYZxyz(25.6657, 27.1131, 5.7149)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C26 #2641A7
analogous
#A74C26 #A78C26 #81A726
triadic
#A78C26 #26A78C #8C26A7
tetradic
#A78C26 #26A74C #2641A7 #A72681
square
#A78C26 #26A74C #2641A7 #A72681
split-complementary
#A78C26 #2681A7 #4C26A7
monochromatic
#43380F #75621B #A78C26 #D2B238 #DDC56A

Accessibility & contrast

On white

3.27
#A78C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A78C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C26
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C26#FFFFFF#000000##000000
##A78C261.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#A2922C
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c26;
/* rgb */ color: rgb(167, 140, 38);
/* oklch */ color: oklch(64.7% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#c5ad68',
    500: '#a78c26',
    950: '#000000',
  },
}
SCSS
$custom: #a78c26;
$custom-light: #c5ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c26",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 47.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64716,
    "c": 0.11965,
    "h": 93.4
  },
  "luminance": 0.27112
}

Semantic roles & 50–950 ramp

primary
#A78C26
secondary
#6579C3
accent
#64E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C26

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

Preview Lab → · Contrast checker → · Palette generator →

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