#A78E2D#A78E2D

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

Color values

HEX#A78E2D
RGBrgb(167, 142, 45)
HSLhsl(48, 58%, 42%)
HSVhsv(48, 73%, 65%)
CMYKcmyk(0%, 15%, 73.1%, 34.5%)
CIE-LABlab(59.66, -1.21, 52.43)
CIE-LCHlch(59.66, 52.45, 91.33°)
OKLaboklab(65.19% -0.0085 0.1163)
OKLCHoklch(65.19% 0.117 94.2)
XYZxyz(26.0844, 27.7524, 6.4650)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E2D #2D46A7
analogous
#A7512D #A78E2D #83A72D
triadic
#A78E2D #2DA78E #8E2DA7
tetradic
#A78E2D #2DA751 #2D46A7 #A72D83
square
#A78E2D #2DA751 #2D46A7 #A72D83
split-complementary
#A78E2D #2D83A7 #512DA7
monochromatic
#473C13 #776520 #A78E2D #CDB144 #DAC575

Accessibility & contrast

On white

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

On black

6.55
#A78E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E2D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E2D#FFFFFF#000000##000000
##A78E2D1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1E
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78e2d;
/* rgb */ color: rgb(167, 142, 45);
/* oklch */ color: oklch(65.2% 0.117 94.2);
Tailwind
colors: {
  custom: {
    50: '#c5ae6c',
    500: '#a78e2d',
    950: '#000000',
  },
}
SCSS
$custom: #a78e2d;
$custom-light: #c5ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e2d",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 47.705,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.11663,
    "h": 94.2
  },
  "luminance": 0.27751
}

Semantic roles & 50–950 ramp

primary
#A78E2D
secondary
#6E7FC1
accent
#67E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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