#A78D27#A78D27

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

Color values

HEX#A78D27
RGBrgb(167, 141, 39)
HSLhsl(48, 62%, 40%)
HSVhsv(48, 77%, 65%)
CMYKcmyk(0%, 15.6%, 76.6%, 34.5%)
CIE-LABlab(59.35, -0.94, 54.45)
CIE-LCHlch(59.35, 54.46, 90.99°)
OKLaboklab(64.94% -0.0084 0.1194)
OKLCHoklch(64.94% 0.12 94)
XYZxyz(25.8289, 27.4132, 5.8499)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78D27 #2741A7
analogous
#A74D27 #A78D27 #81A727
triadic
#A78D27 #27A78D #8D27A7
tetradic
#A78D27 #27A74D #2741A7 #A72781
square
#A78D27 #27A74D #2741A7 #A72781
split-complementary
#A78D27 #2781A7 #4D27A7
monochromatic
#443910 #75631B #A78D27 #D1B23A #DDC66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78D27#FFFFFF#000000##000000
##A78D271.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)
#9D8A14
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78d27;
/* rgb */ color: rgb(167, 141, 39);
/* oklch */ color: oklch(64.9% 0.120 94.0);
Tailwind
colors: {
  custom: {
    50: '#c5ae69',
    500: '#a78d27',
    950: '#000000',
  },
}
SCSS
$custom: #a78d27;
$custom-light: #c5ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78d27",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 47.813,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.1197,
    "h": 94
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#A78D27
secondary
#6779C3
accent
#64E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78D27

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

Preview Lab → · Contrast checker → · Palette generator →

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