#A78E21#A78E21

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

Color values

HEX#A78E21
RGBrgb(167, 142, 33)
HSLhsl(49, 67%, 39%)
HSVhsv(49, 80%, 65%)
CMYKcmyk(0%, 15%, 80.2%, 34.5%)
CIE-LABlab(59.59, -1.73, 56.78)
CIE-LCHlch(59.59, 56.80, 91.75°)
OKLaboklab(65.11% -0.0112 0.1231)
OKLCHoklch(65.11% 0.124 95.2)
XYZxyz(25.8853, 27.6728, 5.4165)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E21 #213AA7
analogous
#A74B21 #A78E21 #7DA721
triadic
#A78E21 #21A78E #8E21A7
tetradic
#A78E21 #21A74B #213AA7 #A7217D
square
#A78E21 #21A74B #213AA7 #A7217D
split-complementary
#A78E21 #217DA7 #4B21A7
monochromatic
#41370D #746317 #A78E21 #D6B72F #E0C962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78E21#FFFFFF#000000##000000
##A78E211.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)
#9E8B05
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78e21;
/* rgb */ color: rgb(167, 142, 33);
/* oklch */ color: oklch(65.1% 0.124 95.2);
Tailwind
colors: {
  custom: {
    50: '#c5ae66',
    500: '#a78e21',
    950: '#000000',
  },
}
SCSS
$custom: #a78e21;
$custom-light: #c5ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e21",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 48.806,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65112,
    "c": 0.12363,
    "h": 95.2
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

primary
#A78E21
secondary
#5F72C5
accent
#5EEA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78E21

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

Preview Lab → · Contrast checker → · Palette generator →

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