#A78B1E#A78B1E

#A78B1E is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.123 H 93.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A78B1E
RGBrgb(167, 139, 30)
HSLhsl(48, 70%, 39%)
HSVhsv(48, 82%, 65%)
CMYKcmyk(0%, 16.8%, 82%, 34.5%)
CIE-LABlab(58.77, -0.19, 57.01)
CIE-LCHlch(58.77, 57.01, 90.19°)
OKLaboklab(64.46% -0.0071 0.123)
OKLCHoklch(64.46% 0.123 93.3)
XYZxyz(25.4048, 26.7760, 5.0582)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B1E #1E3AA7
analogous
#A7461E #A78B1E #7EA71E
triadic
#A78B1E #1EA78B #8B1EA7
tetradic
#A78B1E #1EA746 #1E3AA7 #A71E7E
square
#A78B1E #1EA746 #1E3AA7 #A71E7E
split-complementary
#A78B1E #1E7EA7 #461EA7
monochromatic
#3F350B #736015 #A78B1E #D9B52A #E2C75D

Accessibility & contrast

On white

3.30
#A78B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A78B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B1E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B1E#FFFFFF#000000##000000
##A78B1E1.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b1e;
/* rgb */ color: rgb(167, 139, 30);
/* oklch */ color: oklch(64.5% 0.123 93.3);
Tailwind
colors: {
  custom: {
    50: '#c5ac65',
    500: '#a78b1e',
    950: '#000000',
  },
}
SCSS
$custom: #a78b1e;
$custom-light: #c5ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b1e",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 47.737,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.1232,
    "h": 93.3
  },
  "luminance": 0.26774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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