#A78E1F#A78E1F

#A78E1F is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.125 H 95.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A78E1F
RGBrgb(167, 142, 31)
HSLhsl(49, 69%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 15%, 81.4%, 34.5%)
CIE-LABlab(59.58, -1.80, 57.41)
CIE-LCHlch(59.58, 57.44, 91.80°)
OKLaboklab(65.1% -0.0116 0.1241)
OKLCHoklch(65.1% 0.125 95.3)
XYZxyz(25.8581, 27.6619, 5.2734)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E1F #1F38A7
analogous
#A74A1F #A78E1F #7CA71F
triadic
#A78E1F #1FA78E #8E1FA7
tetradic
#A78E1F #1FA74A #1F38A7 #A71F7C
square
#A78E1F #1FA74A #1F38A7 #A71F7C
split-complementary
#A78E1F #1F7CA7 #4A1FA7
monochromatic
#40360C #736215 #A78E1F #D8B82B #E1C95F

Accessibility & contrast

On white

3.21
#A78E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A78E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E1F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E1F#FFFFFF#000000##000000
##A78E1F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78e1f;
/* rgb */ color: rgb(167, 142, 31);
/* oklch */ color: oklch(65.1% 0.125 95.3);
Tailwind
colors: {
  custom: {
    50: '#c5ae65',
    500: '#a78e1f',
    950: '#000000',
  },
}
SCSS
$custom: #a78e1f;
$custom-light: #c5ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e1f",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 48.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.12462,
    "h": 95.3
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#A78E1F
secondary
#5C6FC6
accent
#5CEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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