#A78E31#A78E31

#A78E31 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.2% C 0.114 H 93.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A78E31
RGBrgb(167, 142, 49)
HSLhsl(47, 55%, 42%)
HSVhsv(47, 71%, 65%)
CMYKcmyk(0%, 15%, 70.7%, 34.5%)
CIE-LABlab(59.69, -1.01, 50.81)
CIE-LCHlch(59.69, 50.82, 91.13°)
OKLaboklab(65.22% -0.0074 0.1136)
OKLCHoklch(65.22% 0.114 93.7)
XYZxyz(26.1651, 27.7847, 6.8899)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E31 #314AA7
analogous
#A75331 #A78E31 #85A731
triadic
#A78E31 #31A78E #8E31A7
tetradic
#A78E31 #31A753 #314AA7 #A73185
square
#A78E31 #31A753 #314AA7 #A73185
split-complementary
#A78E31 #3185A7 #5331A7
monochromatic
#483E15 #786623 #A78E31 #CAAF4B #D8C47A

Accessibility & contrast

On white

3.20
#A78E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A78E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E31
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E31#FFFFFF#000000##000000
##A78E311.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B24
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#B4837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78e31;
/* rgb */ color: rgb(167, 142, 49);
/* oklch */ color: oklch(65.2% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#c5ae6f',
    500: '#a78e31',
    950: '#000000',
  },
}
SCSS
$custom: #a78e31;
$custom-light: #c5ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e31",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 47.288,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65225,
    "c": 0.11388,
    "h": 93.7
  },
  "luminance": 0.27783
}

Semantic roles & 50–950 ramp

primary
#A78E31
secondary
#7384C1
accent
#69DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A78E31

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

Preview Lab → · Contrast checker → · Palette generator →

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