#A78F2A#A78F2A

#A78F2A is a light, moderate yellow. Relative luminance 0.280; OKLCH L 65.4% C 0.119 H 95.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A78F2A
RGBrgb(167, 143, 42)
HSLhsl(48, 60%, 41%)
HSVhsv(48, 75%, 65%)
CMYKcmyk(0%, 14.4%, 74.9%, 34.5%)
CIE-LABlab(59.91, -1.91, 53.86)
CIE-LCHlch(59.91, 53.89, 92.03°)
OKLaboklab(65.38% -0.0108 0.1188)
OKLCHoklch(65.38% 0.119 95.2)
XYZxyz(26.1781, 28.0290, 6.2213)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F2A #2A42A7
analogous
#A7502A #A78F2A #80A72A
triadic
#A78F2A #2AA78F #8F2AA7
tetradic
#A78F2A #2AA750 #2A42A7 #A72A80
square
#A78F2A #2AA750 #2A42A7 #A72A80
split-complementary
#A78F2A #2A80A7 #502AA7
monochromatic
#453B11 #76651E #A78F2A #CFB33F #DBC770

Accessibility & contrast

On white

3.18
#A78F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A78F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F2A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F2A#FFFFFF#000000##000000
##A78F2A1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#A49430
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f2a;
/* rgb */ color: rgb(167, 143, 42);
/* oklch */ color: oklch(65.4% 0.119 95.2);
Tailwind
colors: {
  custom: {
    50: '#c5af6b',
    500: '#a78f2a',
    950: '#000000',
  },
}
SCSS
$custom: #a78f2a;
$custom-light: #c5af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f2a",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 48.48,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65384,
    "c": 0.11924,
    "h": 95.2
  },
  "luminance": 0.28028
}

Semantic roles & 50–950 ramp

primary
#A78F2A
secondary
#6B7BC2
accent
#63E345
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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