#A78E27#A78E27

#A78E27 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.120 H 94.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A78E27
RGBrgb(167, 142, 39)
HSLhsl(48, 62%, 40%)
HSVhsv(48, 77%, 65%)
CMYKcmyk(0%, 15%, 76.6%, 34.5%)
CIE-LABlab(59.63, -1.49, 54.71)
CIE-LCHlch(59.63, 54.73, 91.56°)
OKLaboklab(65.15% -0.0099 0.12)
OKLCHoklch(65.15% 0.12 94.7)
XYZxyz(25.9770, 27.7094, 5.8993)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E27 #2740A7
analogous
#A74E27 #A78E27 #80A727
triadic
#A78E27 #27A78E #8E27A7
tetradic
#A78E27 #27A74E #2740A7 #A72780
square
#A78E27 #27A74E #2740A7 #A72780
split-complementary
#A78E27 #2780A7 #4E27A7
monochromatic
#443A10 #75641B #A78E27 #D1B43A #DDC76C

Accessibility & contrast

On white

3.21
#A78E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A78E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E27
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E27#FFFFFF#000000##000000
##A78E271.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78e27;
/* rgb */ color: rgb(167, 142, 39);
/* oklch */ color: oklch(65.1% 0.120 94.7);
Tailwind
colors: {
  custom: {
    50: '#c5ae69',
    500: '#a78e27',
    950: '#000000',
  },
}
SCSS
$custom: #a78e27;
$custom-light: #c5ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e27",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 48.281,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.12036,
    "h": 94.7
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78E27

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

Preview Lab → · Contrast checker → · Palette generator →

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