#A78C24#A78C24

#A78C24 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.121 H 93.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C24
RGBrgb(167, 140, 36)
HSLhsl(48, 65%, 40%)
HSVhsv(48, 78%, 65%)
CMYKcmyk(0%, 16.2%, 78.4%, 34.5%)
CIE-LABlab(59.07, -0.52, 55.27)
CIE-LCHlch(59.07, 55.28, 90.54°)
OKLaboklab(64.7% -0.0075 0.1205)
OKLCHoklch(64.7% 0.121 93.6)
XYZxyz(25.6343, 27.1006, 5.5495)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C24 #243FA7
analogous
#A74B24 #A78C24 #80A724
triadic
#A78C24 #24A78C #8C24A7
tetradic
#A78C24 #24A74B #243FA7 #A72480
square
#A78C24 #24A74B #243FA7 #A72480
split-complementary
#A78C24 #2480A7 #4B24A7
monochromatic
#42380E #756219 #A78C24 #D3B335 #DEC667

Accessibility & contrast

On white

3.27
#A78C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A78C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C24
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C24#FFFFFF#000000##000000
##A78C241.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c24;
/* rgb */ color: rgb(167, 140, 36);
/* oklch */ color: oklch(64.7% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#c5ad68',
    500: '#a78c24',
    950: '#000000',
  },
}
SCSS
$custom: #a78c24;
$custom-light: #c5ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c24",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 47.634,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64703,
    "c": 0.12076,
    "h": 93.6
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#A78C24
secondary
#6377C4
accent
#63E840
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78C24

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

Preview Lab → · Contrast checker → · Palette generator →

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