#A78A2A#A78A2A

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

Color values

HEX#A78A2A
RGBrgb(167, 138, 42)
HSLhsl(46, 60%, 41%)
HSVhsv(46, 75%, 65%)
CMYKcmyk(0%, 17.4%, 74.9%, 34.5%)
CIE-LABlab(58.57, 0.84, 52.55)
CIE-LCHlch(58.57, 52.56, 89.08°)
OKLaboklab(64.32% -0.003 0.116)
OKLCHoklch(64.32% 0.116 91.5)
XYZxyz(25.4442, 26.5612, 5.9767)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A2A #2A47A7
analogous
#A74B2A #A78A2A #85A72A
triadic
#A78A2A #2AA78A #8A2AA7
tetradic
#A78A2A #2AA74B #2A47A7 #A72A85
square
#A78A2A #2AA74B #2A47A7 #A72A85
split-complementary
#A78A2A #2A85A7 #4B2AA7
monochromatic
#453911 #76621E #A78A2A #CFAE3F #DBC270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78A2A#FFFFFF#000000##000000
##A78A2A1.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)
#9A881A
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a2a;
/* rgb */ color: rgb(167, 138, 42);
/* oklch */ color: oklch(64.3% 0.116 91.5);
Tailwind
colors: {
  custom: {
    50: '#c5ab6a',
    500: '#a78a2a',
    950: '#000000',
  },
}
SCSS
$custom: #a78a2a;
$custom-light: #c5ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a2a",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 46.08,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64319,
    "c": 0.11602,
    "h": 91.5
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#A78A2A
secondary
#6B7FC2
accent
#6AE345
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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