#A79F2C#A79F2C

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

Color values

HEX#A79F2C
RGBrgb(167, 159, 44)
HSLhsl(56, 58%, 41%)
HSVhsv(56, 74%, 65%)
CMYKcmyk(0%, 4.8%, 73.7%, 34.5%)
CIE-LABlab(64.32, -10.41, 57.33)
CIE-LCHlch(64.32, 58.27, 100.29°)
OKLaboklab(68.88% -0.0346 0.1265)
OKLCHoklch(68.88% 0.131 105.3)
XYZxyz(28.7903, 33.1947, 7.2731)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F2C #2C34A7
analogous
#A7622C #A79F2C #72A72C
triadic
#A79F2C #2CA79F #9F2CA7
tetradic
#A79F2C #2CA762 #2C34A7 #A72C72
square
#A79F2C #2CA762 #2C34A7 #A72C72
split-complementary
#A79F2C #2C72A7 #622CA7
monochromatic
#464312 #77711F #A79F2C #CDC443 #DAD373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a79f2c;
/* rgb */ color: rgb(167, 159, 44);
/* oklch */ color: oklch(68.9% 0.131 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb6e',
    500: '#a79f2c',
    950: '#000000',
  },
}
SCSS
$custom: #a79f2c;
$custom-light: #c5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f2c",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 56.098,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.13116,
    "h": 105.3
  },
  "luminance": 0.33194
}

Semantic roles & 50–950 ramp

primary
#A79F2C
secondary
#6D73C2
accent
#50E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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