#A78C2F#A78C2F

#A78C2F is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.8% C 0.114 H 92.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A78C2F
RGBrgb(167, 140, 47)
HSLhsl(47, 56%, 42%)
HSVhsv(47, 72%, 65%)
CMYKcmyk(0%, 16.2%, 71.9%, 34.5%)
CIE-LABlab(59.14, -0.01, 51.09)
CIE-LCHlch(59.14, 51.09, 90.02°)
OKLaboklab(64.78% -0.0048 0.1139)
OKLCHoklch(64.78% 0.114 92.4)
XYZxyz(25.8289, 27.1784, 6.5743)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C2F #2F4AA7
analogous
#A7502F #A78C2F #86A72F
triadic
#A78C2F #2FA78C #8C2FA7
tetradic
#A78C2F #2FA750 #2F4AA7 #A72F86
square
#A78C2F #2FA750 #2F4AA7 #A72F86
split-complementary
#A78C2F #2F86A7 #502FA7
monochromatic
#473C14 #776422 #A78C2F #CBAE48 #D9C378

Accessibility & contrast

On white

3.26
#A78C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A78C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C2F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C2F#FFFFFF#000000##000000
##A78C2F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A22
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c2f;
/* rgb */ color: rgb(167, 140, 47);
/* oklch */ color: oklch(64.8% 0.114 92.4);
Tailwind
colors: {
  custom: {
    50: '#c5ad6d',
    500: '#a78c2f',
    950: '#000000',
  },
}
SCSS
$custom: #a78c2f;
$custom-light: #c5ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c2f",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 46.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.11396,
    "h": 92.4
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#A78C2F
secondary
#7183C1
accent
#6ADF48
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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