#A78C23#A78C23

#A78C23 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.121 H 93.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C23
RGBrgb(167, 140, 35)
HSLhsl(48, 65%, 40%)
HSVhsv(48, 79%, 65%)
CMYKcmyk(0%, 16.2%, 79%, 34.5%)
CIE-LABlab(59.06, -0.56, 55.62)
CIE-LCHlch(59.06, 55.62, 90.58°)
OKLaboklab(64.7% -0.0077 0.1211)
OKLCHoklch(64.7% 0.121 93.6)
XYZxyz(25.6193, 27.0945, 5.4701)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C23 #233EA7
analogous
#A74A23 #A78C23 #80A723
triadic
#A78C23 #23A78C #8C23A7
tetradic
#A78C23 #23A74A #233EA7 #A72380
square
#A78C23 #23A74A #233EA7 #A72380
split-complementary
#A78C23 #2380A7 #4A23A7
monochromatic
#42370E #746218 #A78C23 #D4B333 #DFC666

Accessibility & contrast

On white

3.27
#A78C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A78C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C23
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C23#FFFFFF#000000##000000
##A78C231.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C890C
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c23;
/* rgb */ color: rgb(167, 140, 35);
/* oklch */ color: oklch(64.7% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#c5ad67',
    500: '#a78c23',
    950: '#000000',
  },
}
SCSS
$custom: #a78c23;
$custom-light: #c5ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c23",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 47.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64697,
    "c": 0.12131,
    "h": 93.6
  },
  "luminance": 0.27093
}

Semantic roles & 50–950 ramp

primary
#A78C23
secondary
#6176C4
accent
#62E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78C23

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

Preview Lab → · Contrast checker → · Palette generator →

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