#A78D1F#A78D1F

#A78D1F is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.9% C 0.124 H 94.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A78D1F
RGBrgb(167, 141, 31)
HSLhsl(49, 69%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 15.6%, 81.4%, 34.5%)
CIE-LABlab(59.31, -1.25, 57.17)
CIE-LCHlch(59.31, 57.19, 91.26°)
OKLaboklab(64.89% -0.0101 0.1236)
OKLCHoklch(64.89% 0.124 94.7)
XYZxyz(25.7100, 27.3657, 5.2240)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78D1F #1F39A7
analogous
#A7491F #A78D1F #7DA71F
triadic
#A78D1F #1FA78D #8D1FA7
tetradic
#A78D1F #1FA749 #1F39A7 #A71F7D
square
#A78D1F #1FA749 #1F39A7 #A71F7D
split-complementary
#A78D1F #1F7DA7 #491FA7
monochromatic
#40360C #736115 #A78D1F #D8B72B #E1C85F

Accessibility & contrast

On white

3.24
#A78D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A78D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78D1F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78D1F#FFFFFF#000000##000000
##A78D1F1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78d1f;
/* rgb */ color: rgb(167, 141, 31);
/* oklch */ color: oklch(64.9% 0.124 94.7);
Tailwind
colors: {
  custom: {
    50: '#c5ad65',
    500: '#a78d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a78d1f;
$custom-light: #c5ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78d1f",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 48.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64887,
    "c": 0.12397,
    "h": 94.7
  },
  "luminance": 0.27364
}

Semantic roles & 50–950 ramp

primary
#A78D1F
secondary
#5C70C6
accent
#5EEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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