#A79F2E#A79F2E

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

Color values

HEX#A79F2E
RGBrgb(167, 159, 46)
HSLhsl(56, 57%, 42%)
HSVhsv(56, 72%, 65%)
CMYKcmyk(0%, 4.8%, 72.5%, 34.5%)
CIE-LABlab(64.33, -10.31, 56.60)
CIE-LCHlch(64.33, 57.54, 100.32°)
OKLaboklab(68.9% -0.0342 0.1253)
OKLCHoklch(68.9% 0.13 105.3)
XYZxyz(28.8288, 33.2101, 7.4759)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F2E #2E36A7
analogous
#A7632E #A79F2E #73A72E
triadic
#A79F2E #2EA79F #9F2EA7
tetradic
#A79F2E #2EA763 #2E36A7 #A72E73
square
#A79F2E #2EA763 #2E36A7 #A72E73
split-complementary
#A79F2E #2E73A7 #632EA7
monochromatic
#474414 #777121 #A79F2E #CCC346 #D9D376

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79F2E#FFFFFF#000000##000000
##A79F2E1.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)
#AD991A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B49489
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f2e;
/* rgb */ color: rgb(167, 159, 46);
/* oklch */ color: oklch(68.9% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb6f',
    500: '#a79f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a79f2e;
$custom-light: #c5bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f2e",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 56.033,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68897,
    "c": 0.12992,
    "h": 105.3
  },
  "luminance": 0.33209
}

Semantic roles & 50–950 ramp

primary
#A79F2E
secondary
#7075C1
accent
#52E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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