#A78A1F#A78A1F

#A78A1F is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.122 H 92.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A78A1F
RGBrgb(167, 138, 31)
HSLhsl(47, 69%, 39%)
HSVhsv(47, 81%, 65%)
CMYKcmyk(0%, 17.4%, 81.4%, 34.5%)
CIE-LABlab(58.50, 0.39, 56.46)
CIE-LCHlch(58.50, 56.46, 89.60°)
OKLaboklab(64.25% -0.0054 0.122)
OKLCHoklch(64.25% 0.122 92.5)
XYZxyz(25.2736, 26.4929, 5.0785)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A1F #1F3CA7
analogous
#A7461F #A78A1F #80A71F
triadic
#A78A1F #1FA78A #8A1FA7
tetradic
#A78A1F #1FA746 #1F3CA7 #A71F80
square
#A78A1F #1FA746 #1F3CA7 #A71F80
split-complementary
#A78A1F #1F80A7 #461FA7
monochromatic
#40350C #735F15 #A78A1F #D8B32B #E1C65F

Accessibility & contrast

On white

3.33
#A78A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A78A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A1F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A1F#FFFFFF#000000##000000
##A78A1F1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8802
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a1f;
/* rgb */ color: rgb(167, 138, 31);
/* oklch */ color: oklch(64.2% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#c5ab65',
    500: '#a78a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a78a1f;
$custom-light: #c5ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a1f",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 47.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64248,
    "c": 0.12213,
    "h": 92.5
  },
  "luminance": 0.26491
}

Semantic roles & 50–950 ramp

primary
#A78A1F
secondary
#5C73C6
accent
#62EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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