#A78D1E#A78D1E

#A78D1E 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#A78D1E
RGBrgb(167, 141, 30)
HSLhsl(49, 70%, 39%)
HSVhsv(49, 82%, 65%)
CMYKcmyk(0%, 15.6%, 82%, 34.5%)
CIE-LABlab(59.31, -1.29, 57.48)
CIE-LCHlch(59.31, 57.50, 91.28°)
OKLaboklab(64.88% -0.0102 0.124)
OKLCHoklch(64.88% 0.124 94.7)
XYZxyz(25.6970, 27.3605, 5.1556)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78D1E #1E38A7
analogous
#A7481E #A78D1E #7CA71E
triadic
#A78D1E #1EA78D #8D1EA7
tetradic
#A78D1E #1EA748 #1E38A7 #A71E7C
square
#A78D1E #1EA748 #1E38A7 #A71E7C
split-complementary
#A78D1E #1E7CA7 #481EA7
monochromatic
#3F350B #736115 #A78D1E #D9B72A #E2C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78D1E#FFFFFF#000000##000000
##A78D1E1.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)
#A39226
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78d1e;
/* rgb */ color: rgb(167, 141, 30);
/* oklch */ color: oklch(64.9% 0.124 94.7);
Tailwind
colors: {
  custom: {
    50: '#c5ad65',
    500: '#a78d1e',
    950: '#000000',
  },
}
SCSS
$custom: #a78d1e;
$custom-light: #c5ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78d1e",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 48.613,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64882,
    "c": 0.12444,
    "h": 94.7
  },
  "luminance": 0.27359
}

Semantic roles & 50–950 ramp

primary
#A78D1E
secondary
#5B6FC6
accent
#5DEC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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