#A79F2B#A79F2B

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

Color values

HEX#A79F2B
RGBrgb(167, 159, 43)
HSLhsl(56, 59%, 41%)
HSVhsv(56, 74%, 65%)
CMYKcmyk(0%, 4.8%, 74.3%, 34.5%)
CIE-LABlab(64.31, -10.45, 57.69)
CIE-LCHlch(64.31, 58.63, 100.27°)
OKLaboklab(68.88% -0.0349 0.1271)
OKLCHoklch(68.88% 0.132 105.3)
XYZxyz(28.7717, 33.1873, 7.1753)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F2B #2B33A7
analogous
#A7612B #A79F2B #71A72B
triadic
#A79F2B #2BA79F #9F2BA7
tetradic
#A79F2B #2BA761 #2B33A7 #A72B71
square
#A79F2B #2BA761 #2B33A7 #A72B71
split-complementary
#A79F2B #2B71A7 #612BA7
monochromatic
#464212 #76711E #A79F2B #CEC541 #DBD472

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79F2B#FFFFFF#000000##000000
##A79F2B1.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)
#AD9914
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B49489
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f2b;
/* rgb */ color: rgb(167, 159, 43);
/* oklch */ color: oklch(68.9% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb6d',
    500: '#a79f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a79f2b;
$custom-light: #c5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f2b",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 56.129,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.13177,
    "h": 105.3
  },
  "luminance": 0.33186
}

Semantic roles & 50–950 ramp

primary
#A79F2B
secondary
#6C71C2
accent
#50E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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