#A78A2B#A78A2B

#A78A2B is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.115 H 91.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A78A2B
RGBrgb(167, 138, 43)
HSLhsl(46, 59%, 41%)
HSVhsv(46, 74%, 65%)
CMYKcmyk(0%, 17.4%, 74.3%, 34.5%)
CIE-LABlab(58.57, 0.89, 52.16)
CIE-LCHlch(58.57, 52.17, 89.02°)
OKLaboklab(64.33% -0.0027 0.1154)
OKLCHoklch(64.33% 0.115 91.3)
XYZxyz(25.4623, 26.5684, 6.0721)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A2B #2B48A7
analogous
#A74C2B #A78A2B #86A72B
triadic
#A78A2B #2BA78A #8A2BA7
tetradic
#A78A2B #2BA74C #2B48A7 #A72B86
square
#A78A2B #2BA74C #2B48A7 #A72B86
split-complementary
#A78A2B #2B86A7 #4C2BA7
monochromatic
#463A12 #76621E #A78A2B #CEAD41 #DBC272

Accessibility & contrast

On white

3.33
#A78A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A78A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A2B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A2B#FFFFFF#000000##000000
##A78A2B1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881C
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a2b;
/* rgb */ color: rgb(167, 138, 43);
/* oklch */ color: oklch(64.3% 0.115 91.3);
Tailwind
colors: {
  custom: {
    50: '#c5ab6b',
    500: '#a78a2b',
    950: '#000000',
  },
}
SCSS
$custom: #a78a2b;
$custom-light: #c5ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a2b",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 45.968,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64326,
    "c": 0.11538,
    "h": 91.3
  },
  "luminance": 0.26567
}

Semantic roles & 50–950 ramp

primary
#A78A2B
secondary
#6C80C2
accent
#6AE246
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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