#A78F23#A78F23

#A78F23 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.123 H 95.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A78F23
RGBrgb(167, 143, 35)
HSLhsl(49, 65%, 40%)
HSVhsv(49, 79%, 65%)
CMYKcmyk(0%, 14.4%, 79%, 34.5%)
CIE-LABlab(59.87, -2.20, 56.36)
CIE-LCHlch(59.87, 56.40, 92.24°)
OKLaboklab(65.34% -0.0124 0.1227)
OKLCHoklch(65.34% 0.123 95.8)
XYZxyz(26.0636, 27.9832, 5.6183)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F23 #233BA7
analogous
#A74D23 #A78F23 #7DA723
triadic
#A78F23 #23A78F #8F23A7
tetradic
#A78F23 #23A74D #233BA7 #A7237D
square
#A78F23 #23A74D #233BA7 #A7237D
split-complementary
#A78F23 #237DA7 #4D23A7
monochromatic
#42380E #746418 #A78F23 #D4B733 #DFC966

Accessibility & contrast

On white

3.18
#A78F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A78F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F23
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F23#FFFFFF#000000##000000
##A78F231.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0A
Deuteranopia (green-blind)
#A5932A
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f23;
/* rgb */ color: rgb(167, 143, 35);
/* oklch */ color: oklch(65.3% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#c5af67',
    500: '#a78f23',
    950: '#000000',
  },
}
SCSS
$custom: #a78f23;
$custom-light: #c5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f23",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 49.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65338,
    "c": 0.12327,
    "h": 95.8
  },
  "luminance": 0.27982
}

Semantic roles & 50–950 ramp

primary
#A78F23
secondary
#6173C4
accent
#5EE83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78F23

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

Preview Lab → · Contrast checker → · Palette generator →

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