#A78C1E#A78C1E

#A78C1E is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.124 H 94.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A78C1E
RGBrgb(167, 140, 30)
HSLhsl(48, 70%, 39%)
HSVhsv(48, 82%, 65%)
CMYKcmyk(0%, 16.2%, 82%, 34.5%)
CIE-LABlab(59.04, -0.74, 57.25)
CIE-LCHlch(59.04, 57.25, 90.74°)
OKLaboklab(64.67% -0.0087 0.1235)
OKLCHoklch(64.67% 0.124 94)
XYZxyz(25.5502, 27.0669, 5.1067)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C1E #1E39A7
analogous
#A7471E #A78C1E #7DA71E
triadic
#A78C1E #1EA78C #8C1EA7
tetradic
#A78C1E #1EA747 #1E39A7 #A71E7D
square
#A78C1E #1EA747 #1E39A7 #A71E7D
split-complementary
#A78C1E #1E7DA7 #471EA7
monochromatic
#3F350B #736115 #A78C1E #D9B62A #E2C85D

Accessibility & contrast

On white

3.27
#A78C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A78C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C1E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C1E#FFFFFF#000000##000000
##A78C1E1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A39126
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c1e;
/* rgb */ color: rgb(167, 140, 30);
/* oklch */ color: oklch(64.7% 0.124 94.0);
Tailwind
colors: {
  custom: {
    50: '#c5ad65',
    500: '#a78c1e',
    950: '#000000',
  },
}
SCSS
$custom: #a78c1e;
$custom-light: #c5ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c1e",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 48.175,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.12382,
    "h": 94
  },
  "luminance": 0.27065
}

Semantic roles & 50–950 ramp

primary
#A78C1E
secondary
#5B70C6
accent
#5EEC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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