#A78928#A78928

#A78928 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 64.1% C 0.117 H 90.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A78928
RGBrgb(167, 137, 40)
HSLhsl(46, 61%, 41%)
HSVhsv(46, 76%, 65%)
CMYKcmyk(0%, 18%, 76%, 34.5%)
CIE-LABlab(58.28, 1.30, 53.06)
CIE-LCHlch(58.28, 53.08, 88.59°)
OKLaboklab(64.09% -0.0019 0.1167)
OKLCHoklch(64.09% 0.117 90.9)
XYZxyz(25.2665, 26.2616, 5.7453)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78928 #2846A7
analogous
#A74928 #A78928 #85A728
triadic
#A78928 #28A789 #8928A7
tetradic
#A78928 #28A749 #2846A7 #A72885
square
#A78928 #28A749 #2846A7 #A72885
split-complementary
#A78928 #2885A7 #4928A7
monochromatic
#443810 #76601C #A78928 #D0AD3C #DCC26D

Accessibility & contrast

On white

3.36
#A78928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A78928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78928
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78928#FFFFFF#000000##000000
##A789281.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#B57D76
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a78928;
/* rgb */ color: rgb(167, 137, 40);
/* oklch */ color: oklch(64.1% 0.117 90.9);
Tailwind
colors: {
  custom: {
    50: '#c5ab69',
    500: '#a78928',
    950: '#000000',
  },
}
SCSS
$custom: #a78928;
$custom-light: #c5ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78928",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 45.827,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.11666,
    "h": 90.9
  },
  "luminance": 0.2626
}

Semantic roles & 50–950 ramp

primary
#A78928
secondary
#687DC3
accent
#69E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78928

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

Preview Lab → · Contrast checker → · Palette generator →

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