#A79C2D#A79C2D

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

Color values

HEX#A79C2D
RGBrgb(167, 156, 45)
HSLhsl(55, 58%, 42%)
HSVhsv(55, 73%, 65%)
CMYKcmyk(0%, 6.6%, 73.1%, 34.5%)
CIE-LABlab(63.49, -8.77, 56.17)
CIE-LCHlch(63.49, 56.85, 98.87°)
OKLaboklab(68.23% -0.0299 0.1242)
OKLCHoklch(68.23% 0.128 103.6)
XYZxyz(28.2997, 32.1830, 7.2034)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79C2D #2D38A7
analogous
#A75F2D #A79C2D #75A72D
triadic
#A79C2D #2DA79C #9C2DA7
tetradic
#A79C2D #2DA75F #2D38A7 #A72D75
square
#A79C2D #2DA75F #2D38A7 #A72D75
split-complementary
#A79C2D #2D75A7 #5F2DA7
monochromatic
#474213 #776F20 #A79C2D #CDC044 #DAD175

Accessibility & contrast

On white

2.82
#A79C2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A79C2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79C2D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79C2D#FFFFFF#000000##000000
##A79C2D1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a79c2d;
/* rgb */ color: rgb(167, 156, 45);
/* oklch */ color: oklch(68.2% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#c5b86e',
    500: '#a79c2d',
    950: '#000000',
  },
}
SCSS
$custom: #a79c2d;
$custom-light: #c5b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79c2d",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 54.59,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68229,
    "c": 0.12779,
    "h": 103.6
  },
  "luminance": 0.32182
}

Semantic roles & 50–950 ramp

primary
#A79C2D
secondary
#6E76C1
accent
#55E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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