#A78F28#A78F28

#A78F28 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.4% C 0.120 H 95.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A78F28
RGBrgb(167, 143, 40)
HSLhsl(49, 61%, 41%)
HSVhsv(49, 76%, 65%)
CMYKcmyk(0%, 14.4%, 76%, 34.5%)
CIE-LABlab(59.90, -2.00, 54.60)
CIE-LCHlch(59.90, 54.64, 92.09°)
OKLaboklab(65.37% -0.0113 0.1199)
OKLCHoklch(65.37% 0.12 95.4)
XYZxyz(26.1432, 28.0151, 6.0375)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F28 #2840A7
analogous
#A74F28 #A78F28 #80A728
triadic
#A78F28 #28A78F #8F28A7
tetradic
#A78F28 #28A74F #2840A7 #A72880
square
#A78F28 #28A74F #2840A7 #A72880
split-complementary
#A78F28 #2880A7 #4F28A7
monochromatic
#443A10 #76651C #A78F28 #D0B43C #DCC76D

Accessibility & contrast

On white

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

On black

6.60
#A78F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F28
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F28#FFFFFF#000000##000000
##A78F281.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78f28;
/* rgb */ color: rgb(167, 143, 40);
/* oklch */ color: oklch(65.4% 0.120 95.4);
Tailwind
colors: {
  custom: {
    50: '#c5af6a',
    500: '#a78f28',
    950: '#000000',
  },
}
SCSS
$custom: #a78f28;
$custom-light: #c5af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f28",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 48.661,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.12046,
    "h": 95.4
  },
  "luminance": 0.28014
}

Semantic roles & 50–950 ramp

primary
#A78F28
secondary
#6879C3
accent
#62E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78F28

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

Preview Lab → · Contrast checker → · Palette generator →

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