#A78A25#A78A25

#A78A25 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.3% C 0.119 H 92.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A78A25
RGBrgb(167, 138, 37)
HSLhsl(47, 64%, 40%)
HSVhsv(47, 78%, 65%)
CMYKcmyk(0%, 17.4%, 77.8%, 34.5%)
CIE-LABlab(58.53, 0.62, 54.42)
CIE-LCHlch(58.53, 54.43, 89.35°)
OKLaboklab(64.28% -0.0041 0.1189)
OKLCHoklch(64.28% 0.119 92)
XYZxyz(25.3602, 26.5276, 5.5345)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A25 #2542A7
analogous
#A74925 #A78A25 #83A725
triadic
#A78A25 #25A78A #8A25A7
tetradic
#A78A25 #25A749 #2542A7 #A72583
square
#A78A25 #25A749 #2542A7 #A72583
split-complementary
#A78A25 #2583A7 #4925A7
monochromatic
#43370F #75611A #A78A25 #D3B037 #DEC469

Accessibility & contrast

On white

3.33
#A78A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A78A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A25
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A25#FFFFFF#000000##000000
##A78A251.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a25;
/* rgb */ color: rgb(167, 138, 37);
/* oklch */ color: oklch(64.3% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#c5ab68',
    500: '#a78a25',
    950: '#000000',
  },
}
SCSS
$custom: #a78a25;
$custom-light: #c5ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a25",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 46.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.64284,
    "c": 0.11899,
    "h": 92
  },
  "luminance": 0.26526
}

Semantic roles & 50–950 ramp

primary
#A78A25
secondary
#6479C4
accent
#66E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78A25

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

Preview Lab → · Contrast checker → · Palette generator →

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