#A79B2D#A79B2D

#A79B2D is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.0% C 0.127 H 103.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A79B2D
RGBrgb(167, 155, 45)
HSLhsl(54, 58%, 42%)
HSVhsv(54, 73%, 65%)
CMYKcmyk(0%, 7.2%, 73.1%, 34.5%)
CIE-LABlab(63.22, -8.24, 55.90)
CIE-LCHlch(63.22, 56.51, 98.38°)
OKLaboklab(68.01% -0.0284 0.1237)
OKLCHoklch(68.01% 0.127 103)
XYZxyz(28.1326, 31.8488, 7.1477)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79B2D #2D39A7
analogous
#A75E2D #A79B2D #76A72D
triadic
#A79B2D #2DA79B #9B2DA7
tetradic
#A79B2D #2DA75E #2D39A7 #A72D76
square
#A79B2D #2DA75E #2D39A7 #A72D76
split-complementary
#A79B2D #2D76A7 #5E2DA7
monochromatic
#474213 #776E20 #A79B2D #CDBF44 #DAD075

Accessibility & contrast

On white

2.85
#A79B2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A79B2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79B2D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79B2D#FFFFFF#000000##000000
##A79B2D1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#B49085
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a79b2d;
/* rgb */ color: rgb(167, 155, 45);
/* oklch */ color: oklch(68.0% 0.127 103.0);
Tailwind
colors: {
  custom: {
    50: '#c5b86e',
    500: '#a79b2d',
    950: '#000000',
  },
}
SCSS
$custom: #a79b2d;
$custom-light: #c5b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79b2d",
  "rgb": {
    "r": 167,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 54.098,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.1269,
    "h": 103
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#A79B2D
secondary
#6E77C1
accent
#56E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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