#A78E2B#A78E2B

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

Color values

HEX#A78E2B
RGBrgb(167, 142, 43)
HSLhsl(48, 59%, 41%)
HSVhsv(48, 74%, 65%)
CMYKcmyk(0%, 15%, 74.3%, 34.5%)
CIE-LABlab(59.65, -1.31, 53.21)
CIE-LCHlch(59.65, 53.23, 91.41°)
OKLaboklab(65.18% -0.009 0.1176)
OKLCHoklch(65.18% 0.118 94.4)
XYZxyz(26.0468, 27.7374, 6.2669)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E2B #2B44A7
analogous
#A7502B #A78E2B #82A72B
triadic
#A78E2B #2BA78E #8E2BA7
tetradic
#A78E2B #2BA750 #2B44A7 #A72B82
square
#A78E2B #2BA750 #2B44A7 #A72B82
split-complementary
#A78E2B #2B82A7 #502BA7
monochromatic
#463B12 #76651E #A78E2B #CEB241 #DBC572

Accessibility & contrast

On white

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

On black

6.55
#A78E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E2B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E2B#FFFFFF#000000##000000
##A78E2B1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78e2b;
/* rgb */ color: rgb(167, 142, 43);
/* oklch */ color: oklch(65.2% 0.118 94.4);
Tailwind
colors: {
  custom: {
    50: '#c5ae6b',
    500: '#a78e2b',
    950: '#000000',
  },
}
SCSS
$custom: #a78e2b;
$custom-light: #c5ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e2b",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 47.903,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.11792,
    "h": 94.4
  },
  "luminance": 0.27736
}

Semantic roles & 50–950 ramp

primary
#A78E2B
secondary
#6C7DC2
accent
#65E246
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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