#A78E23#A78E23

#A78E23 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.123 H 95.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A78E23
RGBrgb(167, 142, 35)
HSLhsl(49, 65%, 40%)
HSVhsv(49, 79%, 65%)
CMYKcmyk(0%, 15%, 79%, 34.5%)
CIE-LABlab(59.60, -1.66, 56.11)
CIE-LCHlch(59.60, 56.14, 91.69°)
OKLaboklab(65.12% -0.0108 0.1221)
OKLCHoklch(65.12% 0.123 95.1)
XYZxyz(25.9142, 27.6843, 5.5684)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E23 #233CA7
analogous
#A74C23 #A78E23 #7EA723
triadic
#A78E23 #23A78E #8E23A7
tetradic
#A78E23 #23A74C #233CA7 #A7237E
square
#A78E23 #23A74C #233CA7 #A7237E
split-complementary
#A78E23 #237EA7 #4C23A7
monochromatic
#42380E #746318 #A78E23 #D4B633 #DFC866

Accessibility & contrast

On white

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

On black

6.54
#A78E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E23
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E23#FFFFFF#000000##000000
##A78E231.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a78e23;
/* rgb */ color: rgb(167, 142, 35);
/* oklch */ color: oklch(65.1% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#c5ae67',
    500: '#a78e23',
    950: '#000000',
  },
}
SCSS
$custom: #a78e23;
$custom-light: #c5ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e23",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 48.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.1226,
    "h": 95.1
  },
  "luminance": 0.27683
}

Semantic roles & 50–950 ramp

primary
#A78E23
secondary
#6174C4
accent
#5FE83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78E23

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

Preview Lab → · Contrast checker → · Palette generator →

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