#A78C2B#A78C2B

#A78C2B is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.8% C 0.117 H 92.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A78C2B
RGBrgb(167, 140, 43)
HSLhsl(47, 59%, 41%)
HSVhsv(47, 74%, 65%)
CMYKcmyk(0%, 16.2%, 74.3%, 34.5%)
CIE-LABlab(59.11, -0.21, 52.69)
CIE-LCHlch(59.11, 52.69, 90.23°)
OKLaboklab(64.75% -0.0059 0.1165)
OKLCHoklch(64.75% 0.117 92.9)
XYZxyz(25.7519, 27.1476, 6.1686)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C2B #2B46A7
analogous
#A74E2B #A78C2B #84A72B
triadic
#A78C2B #2BA78C #8C2BA7
tetradic
#A78C2B #2BA74E #2B46A7 #A72B84
square
#A78C2B #2BA74E #2B46A7 #A72B84
split-complementary
#A78C2B #2B84A7 #4E2BA7
monochromatic
#463A12 #76631E #A78C2B #CEAF41 #DBC472

Accessibility & contrast

On white

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

On black

6.43
#A78C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C2B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C2B#FFFFFF#000000##000000
##A78C2B1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1C
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#B58079
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c2b;
/* rgb */ color: rgb(167, 140, 43);
/* oklch */ color: oklch(64.8% 0.117 92.9);
Tailwind
colors: {
  custom: {
    50: '#c5ad6b',
    500: '#a78c2b',
    950: '#000000',
  },
}
SCSS
$custom: #a78c2b;
$custom-light: #c5ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c2b",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 46.935,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.11662,
    "h": 92.9
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#A78C2B
secondary
#6C7FC2
accent
#68E246
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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