#A78B24#A78B24

#A78B24 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.120 H 92.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A78B24
RGBrgb(167, 139, 36)
HSLhsl(47, 65%, 40%)
HSVhsv(47, 78%, 65%)
CMYKcmyk(0%, 16.8%, 78.4%, 34.5%)
CIE-LABlab(58.80, 0.03, 55.03)
CIE-LCHlch(58.80, 55.03, 89.97°)
OKLaboklab(64.49% -0.0059 0.12)
OKLCHoklch(64.49% 0.12 92.8)
XYZxyz(25.4889, 26.8096, 5.5010)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B24 #2440A7
analogous
#A74A24 #A78B24 #81A724
triadic
#A78B24 #24A78B #8B24A7
tetradic
#A78B24 #24A74A #2440A7 #A72481
square
#A78B24 #24A74A #2440A7 #A72481
split-complementary
#A78B24 #2481A7 #4A24A7
monochromatic
#42370E #756119 #A78B24 #D3B235 #DEC567

Accessibility & contrast

On white

3.30
#A78B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A78B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B24
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B24#FFFFFF#000000##000000
##A78B241.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890F
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b24;
/* rgb */ color: rgb(167, 139, 36);
/* oklch */ color: oklch(64.5% 0.120 92.8);
Tailwind
colors: {
  custom: {
    50: '#c5ac67',
    500: '#a78b24',
    950: '#000000',
  },
}
SCSS
$custom: #a78b24;
$custom-light: #c5ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b24",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 47.176,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.12015,
    "h": 92.8
  },
  "luminance": 0.26808
}

Semantic roles & 50–950 ramp

primary
#A78B24
secondary
#6378C4
accent
#64E840
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78B24

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

Preview Lab → · Contrast checker → · Palette generator →

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