#A78F27#A78F27

#A78F27 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.4% C 0.121 H 95.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A78F27
RGBrgb(167, 143, 39)
HSLhsl(49, 62%, 40%)
HSVhsv(49, 77%, 65%)
CMYKcmyk(0%, 14.4%, 76.6%, 34.5%)
CIE-LABlab(59.90, -2.04, 54.96)
CIE-LCHlch(59.90, 55.00, 92.12°)
OKLaboklab(65.36% -0.0115 0.1205)
OKLCHoklch(65.36% 0.121 95.5)
XYZxyz(26.1264, 28.0083, 5.9491)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F27 #273FA7
analogous
#A74F27 #A78F27 #7FA727
triadic
#A78F27 #27A78F #8F27A7
tetradic
#A78F27 #27A74F #273FA7 #A7277F
square
#A78F27 #27A74F #273FA7 #A7277F
split-complementary
#A78F27 #277FA7 #4F27A7
monochromatic
#443A10 #75651B #A78F27 #D1B53A #DDC76C

Accessibility & contrast

On white

3.18
#A78F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A78F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F27
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F27#FFFFFF#000000##000000
##A78F271.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C13
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f27;
/* rgb */ color: rgb(167, 143, 39);
/* oklch */ color: oklch(65.4% 0.121 95.5);
Tailwind
colors: {
  custom: {
    50: '#c5af69',
    500: '#a78f27',
    950: '#000000',
  },
}
SCSS
$custom: #a78f27;
$custom-light: #c5af69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f27",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 48.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.12105,
    "h": 95.5
  },
  "luminance": 0.28007
}

Semantic roles & 50–950 ramp

primary
#A78F27
secondary
#6778C3
accent
#61E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78F27

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

Preview Lab → · Contrast checker → · Palette generator →

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