#A78B27#A78B27

#A78B27 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.118 H 92.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A78B27
RGBrgb(167, 139, 39)
HSLhsl(47, 62%, 40%)
HSVhsv(47, 77%, 65%)
CMYKcmyk(0%, 16.8%, 76.6%, 34.5%)
CIE-LABlab(58.82, 0.15, 53.95)
CIE-LCHlch(58.82, 53.95, 89.84°)
OKLaboklab(64.51% -0.0053 0.1183)
OKLCHoklch(64.51% 0.118 92.5)
XYZxyz(25.5366, 26.8287, 5.7525)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B27 #2743A7
analogous
#A74B27 #A78B27 #83A727
triadic
#A78B27 #27A78B #8B27A7
tetradic
#A78B27 #27A74B #2743A7 #A72783
square
#A78B27 #27A74B #2743A7 #A72783
split-complementary
#A78B27 #2783A7 #4B27A7
monochromatic
#443810 #75621B #A78B27 #D1B03A #DDC46C

Accessibility & contrast

On white

3.30
#A78B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A78B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B27
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B27#FFFFFF#000000##000000
##A78B271.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#B57F78
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b27;
/* rgb */ color: rgb(167, 139, 39);
/* oklch */ color: oklch(64.5% 0.118 92.5);
Tailwind
colors: {
  custom: {
    50: '#c5ac69',
    500: '#a78b27',
    950: '#000000',
  },
}
SCSS
$custom: #a78b27;
$custom-light: #c5ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b27",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 46.875,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.11845,
    "h": 92.5
  },
  "luminance": 0.26827
}

Semantic roles & 50–950 ramp

primary
#A78B27
secondary
#677BC3
accent
#66E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78B27

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

Preview Lab → · Contrast checker → · Palette generator →

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