#A78A1E#A78A1E

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

Color values

HEX#A78A1E
RGBrgb(167, 138, 30)
HSLhsl(47, 70%, 39%)
HSVhsv(47, 82%, 65%)
CMYKcmyk(0%, 17.4%, 82%, 34.5%)
CIE-LABlab(58.50, 0.36, 56.77)
CIE-LCHlch(58.50, 56.78, 89.64°)
OKLaboklab(64.24% -0.0056 0.1225)
OKLCHoklch(64.24% 0.123 92.6)
XYZxyz(25.2607, 26.4878, 5.0102)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A1E #1E3BA7
analogous
#A7451E #A78A1E #7FA71E
triadic
#A78A1E #1EA78A #8A1EA7
tetradic
#A78A1E #1EA745 #1E3BA7 #A71E7F
square
#A78A1E #1EA745 #1E3BA7 #A71E7F
split-complementary
#A78A1E #1E7FA7 #451EA7
monochromatic
#3F340B #735F15 #A78A1E #D9B42A #E2C65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78A1E#FFFFFF#000000##000000
##A78A1E1.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)
#9A8800
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a1e;
/* rgb */ color: rgb(167, 138, 30);
/* oklch */ color: oklch(64.2% 0.123 92.6);
Tailwind
colors: {
  custom: {
    50: '#c6ab65',
    500: '#a78a1e',
    950: '#000000',
  },
}
SCSS
$custom: #a78a1e;
$custom-light: #c6ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a1e",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 47.299,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.12261,
    "h": 92.6
  },
  "luminance": 0.26486
}

Semantic roles & 50–950 ramp

primary
#A78A1E
secondary
#5B71C6
accent
#61EC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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