#A78A2D#A78A2D

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

Color values

HEX#A78A2D
RGBrgb(167, 138, 45)
HSLhsl(46, 58%, 42%)
HSVhsv(46, 73%, 65%)
CMYKcmyk(0%, 17.4%, 73.1%, 34.5%)
CIE-LABlab(58.59, 0.99, 51.37)
CIE-LCHlch(58.59, 51.37, 88.90°)
OKLaboklab(64.34% -0.0022 0.1141)
OKLCHoklch(64.34% 0.114 91.1)
XYZxyz(25.4999, 26.5834, 6.2701)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A2D #2D4AA7
analogous
#A74D2D #A78A2D #87A72D
triadic
#A78A2D #2DA78A #8A2DA7
tetradic
#A78A2D #2DA74D #2D4AA7 #A72D87
square
#A78A2D #2DA74D #2D4AA7 #A72D87
split-complementary
#A78A2D #2D87A7 #4D2DA7
monochromatic
#473A13 #776220 #A78A2D #CDAC44 #DAC275

Accessibility & contrast

On white

3.32
#A78A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A78A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A2D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A2D#FFFFFF#000000##000000
##A78A2D1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a2d;
/* rgb */ color: rgb(167, 138, 45);
/* oklch */ color: oklch(64.3% 0.114 91.1);
Tailwind
colors: {
  custom: {
    50: '#c5ab6c',
    500: '#a78a2d',
    950: '#000000',
  },
}
SCSS
$custom: #a78a2d;
$custom-light: #c5ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a2d",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 45.738,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.11408,
    "h": 91.1
  },
  "luminance": 0.26582
}

Semantic roles & 50–950 ramp

primary
#A78A2D
secondary
#6E82C1
accent
#6CE147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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