#A78F1F#A78F1F

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

Color values

HEX#A78F1F
RGBrgb(167, 143, 31)
HSLhsl(49, 69%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 14.4%, 81.4%, 34.5%)
CIE-LABlab(59.85, -2.35, 57.65)
CIE-LCHlch(59.85, 57.70, 92.33°)
OKLaboklab(65.32% -0.0132 0.1246)
OKLCHoklch(65.32% 0.125 96)
XYZxyz(26.0076, 27.9608, 5.3232)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F1F #1F37A7
analogous
#A74B1F #A78F1F #7BA71F
triadic
#A78F1F #1FA78F #8F1FA7
tetradic
#A78F1F #1FA74B #1F37A7 #A71F7B
square
#A78F1F #1FA74B #1F37A7 #A71F7B
split-complementary
#A78F1F #1F7BA7 #4B1FA7
monochromatic
#40370C #736315 #A78F1F #D8B92B #E1CA5F

Accessibility & contrast

On white

3.19
#A78F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A78F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F1F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F1F#FFFFFF#000000##000000
##A78F1F1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A59327
Tritanopia (blue-blind)
#B5837A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f1f;
/* rgb */ color: rgb(167, 143, 31);
/* oklch */ color: oklch(65.3% 0.125 96.0);
Tailwind
colors: {
  custom: {
    50: '#c5af66',
    500: '#a78f1f',
    950: '#000000',
  },
}
SCSS
$custom: #a78f1f;
$custom-light: #c5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f1f",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 49.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.12528,
    "h": 96
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#A78F1F
secondary
#5C6FC6
accent
#5BEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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