#A78D22#A78D22

#A78D22 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.9% C 0.122 H 94.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A78D22
RGBrgb(167, 141, 34)
HSLhsl(48, 66%, 39%)
HSVhsv(48, 80%, 65%)
CMYKcmyk(0%, 15.6%, 79.6%, 34.5%)
CIE-LABlab(59.33, -1.15, 56.20)
CIE-LCHlch(59.33, 56.21, 91.17°)
OKLaboklab(64.9% -0.0095 0.1221)
OKLCHoklch(64.9% 0.122 94.4)
XYZxyz(25.7514, 27.3822, 5.4420)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78D22 #223CA7
analogous
#A74B22 #A78D22 #7EA722
triadic
#A78D22 #22A78D #8D22A7
tetradic
#A78D22 #22A74B #223CA7 #A7227E
square
#A78D22 #22A74B #223CA7 #A7227E
split-complementary
#A78D22 #227EA7 #4B22A7
monochromatic
#41370D #746218 #A78D22 #D5B531 #DFC764

Accessibility & contrast

On white

3.24
#A78D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A78D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78D22
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78D22#FFFFFF#000000##000000
##A78D221.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A08
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78d22;
/* rgb */ color: rgb(167, 141, 34);
/* oklch */ color: oklch(64.9% 0.122 94.4);
Tailwind
colors: {
  custom: {
    50: '#c5ad67',
    500: '#a78d22',
    950: '#000000',
  },
}
SCSS
$custom: #a78d22;
$custom-light: #c5ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78d22",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 48.271,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64904,
    "c": 0.12247,
    "h": 94.4
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#A78D22
secondary
#6074C5
accent
#60E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78D22

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

Preview Lab → · Contrast checker → · Palette generator →

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