#A78C2D#A78C2D

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

Color values

HEX#A78C2D
RGBrgb(167, 140, 45)
HSLhsl(47, 58%, 42%)
HSVhsv(47, 73%, 65%)
CMYKcmyk(0%, 16.2%, 73.1%, 34.5%)
CIE-LABlab(59.12, -0.12, 51.90)
CIE-LCHlch(59.12, 51.90, 90.13°)
OKLaboklab(64.77% -0.0054 0.1152)
OKLCHoklch(64.77% 0.115 92.7)
XYZxyz(25.7895, 27.1626, 6.3667)
Luminance0.2716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C2D #2D48A7
analogous
#A74F2D #A78C2D #85A72D
triadic
#A78C2D #2DA78C #8C2DA7
tetradic
#A78C2D #2DA74F #2D48A7 #A72D85
square
#A78C2D #2DA74F #2D48A7 #A72D85
split-complementary
#A78C2D #2D85A7 #4F2DA7
monochromatic
#473B13 #776420 #A78C2D #CDAF44 #DAC375

Accessibility & contrast

On white

3.26
#A78C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78C2D#FFFFFF#000000##000000
##A78C2D1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78c2d;
/* rgb */ color: rgb(167, 140, 45);
/* oklch */ color: oklch(64.8% 0.115 92.7);
Tailwind
colors: {
  custom: {
    50: '#c5ad6c',
    500: '#a78c2d',
    950: '#000000',
  },
}
SCSS
$custom: #a78c2d;
$custom-light: #c5ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c2d",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 46.721,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.11531,
    "h": 92.7
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

primary
#A78C2D
secondary
#6E81C1
accent
#69E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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