#A78C25#A78C25

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

Color values

HEX#A78C25
RGBrgb(167, 140, 37)
HSLhsl(48, 64%, 40%)
HSVhsv(48, 78%, 65%)
CMYKcmyk(0%, 16.2%, 77.8%, 34.5%)
CIE-LABlab(59.07, -0.48, 54.92)
CIE-LCHlch(59.07, 54.92, 90.50°)
OKLaboklab(64.71% -0.0073 0.12)
OKLCHoklch(64.71% 0.12 93.5)
XYZxyz(25.6498, 27.1067, 5.6310)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C25 #2540A7
analogous
#A74B25 #A78C25 #81A725
triadic
#A78C25 #25A78C #8C25A7
tetradic
#A78C25 #25A74B #2540A7 #A72581
square
#A78C25 #25A74B #2540A7 #A72581
split-complementary
#A78C25 #2581A7 #4B25A7
monochromatic
#43380F #75621A #A78C25 #D3B237 #DEC569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78C25#FFFFFF#000000##000000
##A78C251.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)
#9C8A10
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c25;
/* rgb */ color: rgb(167, 140, 37);
/* oklch */ color: oklch(64.7% 0.120 93.5);
Tailwind
colors: {
  custom: {
    50: '#c5ad68',
    500: '#a78c25',
    950: '#000000',
  },
}
SCSS
$custom: #a78c25;
$custom-light: #c5ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c25",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 47.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.12021,
    "h": 93.5
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#A78C25
secondary
#6478C4
accent
#63E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78C25

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

Preview Lab → · Contrast checker → · Palette generator →

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