#A78C27#A78C27

#A78C27 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.119 H 93.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C27
RGBrgb(167, 140, 39)
HSLhsl(47, 62%, 40%)
HSVhsv(47, 77%, 65%)
CMYKcmyk(0%, 16.2%, 76.6%, 34.5%)
CIE-LABlab(59.09, -0.40, 54.20)
CIE-LCHlch(59.09, 54.20, 90.42°)
OKLaboklab(64.72% -0.0068 0.1189)
OKLCHoklch(64.72% 0.119 93.3)
XYZxyz(25.6821, 27.1197, 5.8010)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C27 #2742A7
analogous
#A74C27 #A78C27 #82A727
triadic
#A78C27 #27A78C #8C27A7
tetradic
#A78C27 #27A74C #2742A7 #A72782
square
#A78C27 #27A74C #2742A7 #A72782
split-complementary
#A78C27 #2782A7 #4C27A7
monochromatic
#443910 #75621B #A78C27 #D1B13A #DDC56C

Accessibility & contrast

On white

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

On black

6.42
#A78C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C27
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C27#FFFFFF#000000##000000
##A78C271.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78c27;
/* rgb */ color: rgb(167, 140, 39);
/* oklch */ color: oklch(64.7% 0.119 93.3);
Tailwind
colors: {
  custom: {
    50: '#c5ad69',
    500: '#a78c27',
    950: '#000000',
  },
}
SCSS
$custom: #a78c27;
$custom-light: #c5ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c27",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 47.344,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.11907,
    "h": 93.3
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#A78C27
secondary
#677AC3
accent
#65E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C27

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

Preview Lab → · Contrast checker → · Palette generator →

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