#A78F2E#A78F2E

#A78F2E is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.4% C 0.117 H 94.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A78F2E
RGBrgb(167, 143, 46)
HSLhsl(48, 57%, 42%)
HSVhsv(48, 72%, 65%)
CMYKcmyk(0%, 14.4%, 72.5%, 34.5%)
CIE-LABlab(59.94, -1.71, 52.30)
CIE-LCHlch(59.94, 52.33, 91.87°)
OKLaboklab(65.42% -0.0098 0.1162)
OKLCHoklch(65.42% 0.117 94.8)
XYZxyz(26.2533, 28.0591, 6.6174)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F2E #2E46A7
analogous
#A7532E #A78F2E #83A72E
triadic
#A78F2E #2EA78F #8F2EA7
tetradic
#A78F2E #2EA753 #2E46A7 #A72E83
square
#A78F2E #2EA753 #2E46A7 #A72E83
split-complementary
#A78F2E #2E83A7 #532EA7
monochromatic
#473D14 #776621 #A78F2E #CCB246 #D9C676

Accessibility & contrast

On white

3.18
#A78F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A78F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F2E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F2E#FFFFFF#000000##000000
##A78F2E1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#B4847C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f2e;
/* rgb */ color: rgb(167, 143, 46);
/* oklch */ color: oklch(65.4% 0.117 94.8);
Tailwind
colors: {
  custom: {
    50: '#c5af6d',
    500: '#a78f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a78f2e;
$custom-light: #c5af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f2e",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 48.099,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.11665,
    "h": 94.8
  },
  "luminance": 0.28058
}

Semantic roles & 50–950 ramp

primary
#A78F2E
secondary
#7080C1
accent
#66E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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