#A78F20#A78F20

#A78F20 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.125 H 96.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A78F20
RGBrgb(167, 143, 32)
HSLhsl(49, 68%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 14.4%, 80.8%, 34.5%)
CIE-LABlab(59.86, -2.31, 57.34)
CIE-LCHlch(59.86, 57.38, 92.31°)
OKLaboklab(65.32% -0.013 0.1241)
OKLCHoklch(65.32% 0.125 96)
XYZxyz(26.0210, 27.9662, 5.3937)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F20 #2038A7
analogous
#A74C20 #A78F20 #7CA720
triadic
#A78F20 #20A78F #8F20A7
tetradic
#A78F20 #20A74C #2038A7 #A7207C
square
#A78F20 #20A74C #2038A7 #A7207C
split-complementary
#A78F20 #207CA7 #4C20A7
monochromatic
#40370C #746316 #A78F20 #D7B92D #E1CA61

Accessibility & contrast

On white

3.19
#A78F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A78F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F20
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F20#FFFFFF#000000##000000
##A78F201.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C02
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#B5837A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f20;
/* rgb */ color: rgb(167, 143, 32);
/* oklch */ color: oklch(65.3% 0.125 96.0);
Tailwind
colors: {
  custom: {
    50: '#c5af66',
    500: '#a78f20',
    950: '#000000',
  },
}
SCSS
$custom: #a78f20;
$custom-light: #c5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f20",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 49.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.12481,
    "h": 96
  },
  "luminance": 0.27965
}

Semantic roles & 50–950 ramp

primary
#A78F20
secondary
#5D70C5
accent
#5CEB3D
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78F20

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

Preview Lab → · Contrast checker → · Palette generator →

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