#A78A23#A78A23

#A78A23 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.3% C 0.120 H 92.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A78A23
RGBrgb(167, 138, 35)
HSLhsl(47, 65%, 40%)
HSVhsv(47, 79%, 65%)
CMYKcmyk(0%, 17.4%, 79%, 34.5%)
CIE-LABlab(58.52, 0.54, 55.13)
CIE-LCHlch(58.52, 55.13, 89.44°)
OKLaboklab(64.27% -0.0046 0.12)
OKLCHoklch(64.27% 0.12 92.2)
XYZxyz(25.3297, 26.5154, 5.3736)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A23 #2340A7
analogous
#A74823 #A78A23 #82A723
triadic
#A78A23 #23A78A #8A23A7
tetradic
#A78A23 #23A748 #2340A7 #A72382
square
#A78A23 #23A748 #2340A7 #A72382
split-complementary
#A78A23 #2382A7 #4823A7
monochromatic
#42360E #746018 #A78A23 #D4B133 #DFC466

Accessibility & contrast

On white

3.33
#A78A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A78A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A23
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A23#FFFFFF#000000##000000
##A78A231.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880D
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a23;
/* rgb */ color: rgb(167, 138, 35);
/* oklch */ color: oklch(64.3% 0.120 92.2);
Tailwind
colors: {
  custom: {
    50: '#c5ab67',
    500: '#a78a23',
    950: '#000000',
  },
}
SCSS
$custom: #a78a23;
$custom-light: #c5ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a23",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 46.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.1201,
    "h": 92.2
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#A78A23
secondary
#6177C4
accent
#65E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78A23

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

Preview Lab → · Contrast checker → · Palette generator →

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