#A79C2A#A79C2A

#A79C2A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.2% C 0.130 H 103.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A79C2A
RGBrgb(167, 156, 42)
HSLhsl(55, 60%, 41%)
HSVhsv(55, 75%, 65%)
CMYKcmyk(0%, 6.6%, 74.9%, 34.5%)
CIE-LABlab(63.48, -8.91, 57.25)
CIE-LCHlch(63.48, 57.94, 98.85°)
OKLaboklab(68.21% -0.0306 0.126)
OKLCHoklch(68.21% 0.13 103.7)
XYZxyz(28.2440, 32.1608, 6.9099)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79C2A #2A35A7
analogous
#A75D2A #A79C2A #73A72A
triadic
#A79C2A #2AA79C #9C2AA7
tetradic
#A79C2A #2AA75D #2A35A7 #A72A73
square
#A79C2A #2AA75D #2A35A7 #A72A73
split-complementary
#A79C2A #2A73A7 #5D2AA7
monochromatic
#454111 #766E1E #A79C2A #CFC23F #DBD270

Accessibility & contrast

On white

2.83
#A79C2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#A79C2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79C2A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79C2A#FFFFFF#000000##000000
##A79C2A1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9714
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#B49186
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79c2a;
/* rgb */ color: rgb(167, 156, 42);
/* oklch */ color: oklch(68.2% 0.130 103.7);
Tailwind
colors: {
  custom: {
    50: '#c5b86c',
    500: '#a79c2a',
    950: '#000000',
  },
}
SCSS
$custom: #a79c2a;
$custom-light: #c5b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a79c2a",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 54.72,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.12963,
    "h": 103.7
  },
  "luminance": 0.3216
}

Semantic roles & 50–950 ramp

primary
#A79C2A
secondary
#6B72C2
accent
#53E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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