#A79F2A#A79F2A

#A79F2A is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.132 H 105.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A79F2A
RGBrgb(167, 159, 42)
HSLhsl(56, 60%, 41%)
HSVhsv(56, 75%, 65%)
CMYKcmyk(0%, 4.8%, 74.9%, 34.5%)
CIE-LABlab(64.31, -10.50, 58.04)
CIE-LCHlch(64.31, 58.98, 100.25°)
OKLaboklab(68.87% -0.0351 0.1276)
OKLCHoklch(68.87% 0.132 105.4)
XYZxyz(28.7536, 33.1800, 7.0798)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F2A #2A32A7
analogous
#A7602A #A79F2A #70A72A
triadic
#A79F2A #2AA79F #9F2AA7
tetradic
#A79F2A #2AA760 #2A32A7 #A72A70
square
#A79F2A #2AA760 #2A32A7 #A72A70
split-complementary
#A79F2A #2A70A7 #602AA7
monochromatic
#454211 #76701E #A79F2A #CFC63F #DBD470

Accessibility & contrast

On white

2.75
#A79F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A79F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F2A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F2A#FFFFFF#000000##000000
##A79F2A1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#B49489
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f2a;
/* rgb */ color: rgb(167, 159, 42);
/* oklch */ color: oklch(68.9% 0.132 105.4);
Tailwind
colors: {
  custom: {
    50: '#c5bb6d',
    500: '#a79f2a',
    950: '#000000',
  },
}
SCSS
$custom: #a79f2a;
$custom-light: #c5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f2a",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 56.16,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.13236,
    "h": 105.4
  },
  "luminance": 0.33179
}

Semantic roles & 50–950 ramp

primary
#A79F2A
secondary
#6B70C2
accent
#4FE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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