#A78F2D#A78F2D

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

Color values

HEX#A78F2D
RGBrgb(167, 143, 45)
HSLhsl(48, 58%, 42%)
HSVhsv(48, 73%, 65%)
CMYKcmyk(0%, 14.4%, 73.1%, 34.5%)
CIE-LABlab(59.94, -1.76, 52.70)
CIE-LCHlch(59.94, 52.73, 91.91°)
OKLaboklab(65.41% -0.0101 0.1169)
OKLCHoklch(65.41% 0.117 94.9)
XYZxyz(26.2338, 28.0513, 6.5148)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F2D #2D45A7
analogous
#A7522D #A78F2D #82A72D
triadic
#A78F2D #2DA78F #8F2DA7
tetradic
#A78F2D #2DA752 #2D45A7 #A72D82
square
#A78F2D #2DA752 #2D45A7 #A72D82
split-complementary
#A78F2D #2D82A7 #522DA7
monochromatic
#473C13 #776620 #A78F2D #CDB244 #DAC675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78F2D#FFFFFF#000000##000000
##A78F2D1.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)
#9E8C1E
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#B5847B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f2d;
/* rgb */ color: rgb(167, 143, 45);
/* oklch */ color: oklch(65.4% 0.117 94.9);
Tailwind
colors: {
  custom: {
    50: '#c5af6c',
    500: '#a78f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a78f2d;
$custom-light: #c5af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f2d",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 48.197,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.11731,
    "h": 94.9
  },
  "luminance": 0.2805
}

Semantic roles & 50–950 ramp

primary
#A78F2D
secondary
#6E7FC1
accent
#65E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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