#A79A1F#A79A1F

#A79A1F is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.7% C 0.134 H 102.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A79A1F
RGBrgb(167, 154, 31)
HSLhsl(54, 69%, 39%)
HSVhsv(54, 81%, 65%)
CMYKcmyk(0%, 7.8%, 81.4%, 34.5%)
CIE-LABlab(62.87, -8.28, 60.29)
CIE-LCHlch(62.87, 60.86, 97.82°)
OKLaboklab(67.71% -0.0299 0.1303)
OKLCHoklch(67.71% 0.134 102.9)
XYZxyz(27.7406, 31.4269, 5.9008)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79A1F #1F2CA7
analogous
#A7561F #A79A1F #70A71F
triadic
#A79A1F #1FA79A #9A1FA7
tetradic
#A79A1F #1FA756 #1F2CA7 #A71F70
square
#A79A1F #1FA756 #1F2CA7 #A71F70
split-complementary
#A79A1F #1F70A7 #561FA7
monochromatic
#403B0C #736A15 #A79A1F #D8C72B #E1D55F

Accessibility & contrast

On white

2.88
#A79A1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A79A1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79A1F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79A1F#FFFFFF#000000##000000
##A79A1F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#B48E84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79a1f;
/* rgb */ color: rgb(167, 154, 31);
/* oklch */ color: oklch(67.7% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#c5b767',
    500: '#a79a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a79a1f;
$custom-light: #c5b767;
$custom-dark: #000000;
JSON
{
  "hex": "#a79a1f",
  "rgb": {
    "r": 167,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 54.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.13368,
    "h": 102.9
  },
  "luminance": 0.31426
}

Semantic roles & 50–950 ramp

primary
#A79A1F
secondary
#5C66C6
accent
#4DEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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