#A78B2D#A78B2D

#A78B2D is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.115 H 91.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A78B2D
RGBrgb(167, 139, 45)
HSLhsl(46, 58%, 42%)
HSVhsv(46, 73%, 65%)
CMYKcmyk(0%, 16.8%, 73.1%, 34.5%)
CIE-LABlab(58.86, 0.43, 51.63)
CIE-LCHlch(58.86, 51.63, 89.52°)
OKLaboklab(64.55% -0.0038 0.1146)
OKLCHoklch(64.55% 0.115 91.9)
XYZxyz(25.6440, 26.8717, 6.3182)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B2D #2D49A7
analogous
#A74E2D #A78B2D #86A72D
triadic
#A78B2D #2DA78B #8B2DA7
tetradic
#A78B2D #2DA74E #2D49A7 #A72D86
square
#A78B2D #2DA74E #2D49A7 #A72D86
split-complementary
#A78B2D #2D86A7 #4E2DA7
monochromatic
#473B13 #776320 #A78B2D #CDAD44 #DAC375

Accessibility & contrast

On white

3.29
#A78B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A78B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B2D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B2D#FFFFFF#000000##000000
##A78B2D1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#B57F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78b2d;
/* rgb */ color: rgb(167, 139, 45);
/* oklch */ color: oklch(64.6% 0.115 91.9);
Tailwind
colors: {
  custom: {
    50: '#c5ac6c',
    500: '#a78b2d',
    950: '#000000',
  },
}
SCSS
$custom: #a78b2d;
$custom-light: #c5ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b2d",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 46.23,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.11468,
    "h": 91.9
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#A78B2D
secondary
#6E81C1
accent
#6AE147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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