#A79A2F#A79A2F

#A79A2F is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.8% C 0.125 H 102.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A79A2F
RGBrgb(167, 154, 47)
HSLhsl(54, 56%, 42%)
HSVhsv(54, 72%, 65%)
CMYKcmyk(0%, 7.8%, 71.9%, 34.5%)
CIE-LABlab(62.96, -7.61, 54.88)
CIE-LCHlch(62.96, 55.40, 97.89°)
OKLaboklab(67.81% -0.0264 0.1219)
OKLCHoklch(67.81% 0.125 102.2)
XYZxyz(28.0063, 31.5331, 7.3001)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79A2F #2F3CA7
analogous
#A75E2F #A79A2F #78A72F
triadic
#A79A2F #2FA79A #9A2FA7
tetradic
#A79A2F #2FA75E #2F3CA7 #A72F78
square
#A79A2F #2FA75E #2F3CA7 #A72F78
split-complementary
#A79A2F #2F78A7 #5E2FA7
monochromatic
#474214 #776E22 #A79A2F #CBBD48 #D9CE78

Accessibility & contrast

On white

2.87
#A79A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A79A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79A2F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79A2F#FFFFFF#000000##000000
##A79A2F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951E
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#B48F85
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79a2f;
/* rgb */ color: rgb(167, 154, 47);
/* oklch */ color: oklch(67.8% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#c5b76f',
    500: '#a79a2f',
    950: '#000000',
  },
}
SCSS
$custom: #a79a2f;
$custom-light: #c5b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79a2f",
  "rgb": {
    "r": 167,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 53.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.12471,
    "h": 102.2
  },
  "luminance": 0.31532
}

Semantic roles & 50–950 ramp

primary
#A79A2F
secondary
#717AC1
accent
#59DF48
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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