#A78E28#A78E28

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

Color values

HEX#A78E28
RGBrgb(167, 142, 40)
HSLhsl(48, 61%, 41%)
HSVhsv(48, 76%, 65%)
CMYKcmyk(0%, 15%, 76%, 34.5%)
CIE-LABlab(59.63, -1.45, 54.34)
CIE-LCHlch(59.63, 54.36, 91.53°)
OKLaboklab(65.16% -0.0097 0.1194)
OKLCHoklch(65.16% 0.12 94.7)
XYZxyz(25.9938, 27.7162, 5.9877)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E28 #2841A7
analogous
#A74E28 #A78E28 #80A728
triadic
#A78E28 #28A78E #8E28A7
tetradic
#A78E28 #28A74E #2841A7 #A72880
square
#A78E28 #28A74E #2841A7 #A72880
split-complementary
#A78E28 #2880A7 #4E28A7
monochromatic
#443A10 #76641C #A78E28 #D0B33C #DCC66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78E28#FFFFFF#000000##000000
##A78E281.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)
#9D8B16
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78e28;
/* rgb */ color: rgb(167, 142, 40);
/* oklch */ color: oklch(65.2% 0.120 94.7);
Tailwind
colors: {
  custom: {
    50: '#c5ae6a',
    500: '#a78e28',
    950: '#000000',
  },
}
SCSS
$custom: #a78e28;
$custom-light: #c5ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e28",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 48.189,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.11978,
    "h": 94.7
  },
  "luminance": 0.27715
}

Semantic roles & 50–950 ramp

primary
#A78E28
secondary
#687AC3
accent
#63E443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78E28

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

Preview Lab → · Contrast checker → · Palette generator →

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