#A78E20#A78E20

#A78E20 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.124 H 95.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A78E20
RGBrgb(167, 142, 32)
HSLhsl(49, 68%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 15%, 80.8%, 34.5%)
CIE-LABlab(59.59, -1.77, 57.10)
CIE-LCHlch(59.59, 57.12, 91.77°)
OKLaboklab(65.11% -0.0114 0.1236)
OKLCHoklch(65.11% 0.124 95.3)
XYZxyz(25.8715, 27.6673, 5.3438)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E20 #2039A7
analogous
#A74B20 #A78E20 #7DA720
triadic
#A78E20 #20A78E #8E20A7
tetradic
#A78E20 #20A74B #2039A7 #A7207D
square
#A78E20 #20A74B #2039A7 #A7207D
split-complementary
#A78E20 #207DA7 #4B20A7
monochromatic
#40370C #746216 #A78E20 #D7B72D #E1C961

Accessibility & contrast

On white

3.21
#A78E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A78E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E20
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E20#FFFFFF#000000##000000
##A78E201.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78e20;
/* rgb */ color: rgb(167, 142, 32);
/* oklch */ color: oklch(65.1% 0.124 95.3);
Tailwind
colors: {
  custom: {
    50: '#c5ae66',
    500: '#a78e20',
    950: '#000000',
  },
}
SCSS
$custom: #a78e20;
$custom-light: #c5ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e20",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 48.889,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.12414,
    "h": 95.3
  },
  "luminance": 0.27666
}

Semantic roles & 50–950 ramp

primary
#A78E20
secondary
#5D71C5
accent
#5DEB3D
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78E20

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

Preview Lab → · Contrast checker → · Palette generator →

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