#A78F1E#A78F1E

#A78F1E is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.126 H 96.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A78F1E
RGBrgb(167, 143, 30)
HSLhsl(49, 70%, 39%)
HSVhsv(49, 82%, 65%)
CMYKcmyk(0%, 14.4%, 82%, 34.5%)
CIE-LABlab(59.85, -2.38, 57.96)
CIE-LCHlch(59.85, 58.01, 92.35°)
OKLaboklab(65.31% -0.0133 0.1251)
OKLCHoklch(65.31% 0.126 96.1)
XYZxyz(25.9946, 27.9556, 5.2548)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F1E #1E36A7
analogous
#A74A1E #A78F1E #7AA71E
triadic
#A78F1E #1EA78F #8F1EA7
tetradic
#A78F1E #1EA74A #1E36A7 #A71E7A
square
#A78F1E #1EA74A #1E36A7 #A71E7A
split-complementary
#A78F1E #1E7AA7 #4A1EA7
monochromatic
#3F360B #736315 #A78F1E #D9BA2A #E2CB5D

Accessibility & contrast

On white

3.19
#A78F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A78F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F1E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F1E#FFFFFF#000000##000000
##A78F1E1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A59326
Tritanopia (blue-blind)
#B5837A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f1e;
/* rgb */ color: rgb(167, 143, 30);
/* oklch */ color: oklch(65.3% 0.126 96.1);
Tailwind
colors: {
  custom: {
    50: '#c5af65',
    500: '#a78f1e',
    950: '#000000',
  },
}
SCSS
$custom: #a78f1e;
$custom-light: #c5af65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f1e",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 49.489,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65311,
    "c": 0.12576,
    "h": 96.1
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#A78F1E
secondary
#5B6DC6
accent
#5AEC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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