#A78B23#A78B23

#A78B23 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.121 H 92.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A78B23
RGBrgb(167, 139, 35)
HSLhsl(47, 65%, 40%)
HSVhsv(47, 79%, 65%)
CMYKcmyk(0%, 16.8%, 79%, 34.5%)
CIE-LABlab(58.79, -0.01, 55.37)
CIE-LCHlch(58.79, 55.37, 90.01°)
OKLaboklab(64.48% -0.0061 0.1205)
OKLCHoklch(64.48% 0.121 92.9)
XYZxyz(25.4738, 26.8036, 5.4217)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B23 #233FA7
analogous
#A74923 #A78B23 #81A723
triadic
#A78B23 #23A78B #8B23A7
tetradic
#A78B23 #23A749 #233FA7 #A72381
square
#A78B23 #23A749 #233FA7 #A72381
split-complementary
#A78B23 #2381A7 #4923A7
monochromatic
#42370E #746118 #A78B23 #D4B233 #DFC566

Accessibility & contrast

On white

3.30
#A78B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A78B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B23
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B23#FFFFFF#000000##000000
##A78B231.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b23;
/* rgb */ color: rgb(167, 139, 35);
/* oklch */ color: oklch(64.5% 0.121 92.9);
Tailwind
colors: {
  custom: {
    50: '#c5ac67',
    500: '#a78b23',
    950: '#000000',
  },
}
SCSS
$custom: #a78b23;
$custom-light: #c5ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b23",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 47.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64484,
    "c": 0.12069,
    "h": 92.9
  },
  "luminance": 0.26802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78B23

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

Preview Lab → · Contrast checker → · Palette generator →

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