#A79D2C#A79D2C

#A79D2C is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.4% C 0.129 H 104.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A79D2C
RGBrgb(167, 157, 44)
HSLhsl(55, 58%, 41%)
HSVhsv(55, 74%, 65%)
CMYKcmyk(0%, 6%, 73.7%, 34.5%)
CIE-LABlab(63.76, -9.35, 56.80)
CIE-LCHlch(63.76, 57.56, 99.35°)
OKLaboklab(68.44% -0.0317 0.1254)
OKLCHoklch(68.44% 0.129 104.2)
XYZxyz(28.4492, 32.5124, 7.1594)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D2C #2C36A7
analogous
#A7602C #A79D2C #74A72C
triadic
#A79D2C #2CA79D #9D2CA7
tetradic
#A79D2C #2CA760 #2C36A7 #A72C74
square
#A79D2C #2CA760 #2C36A7 #A72C74
split-complementary
#A79D2C #2C74A7 #602CA7
monochromatic
#464212 #776F1F #A79D2C #CDC243 #DAD273

Accessibility & contrast

On white

2.80
#A79D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#A79D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D2C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D2C#FFFFFF#000000##000000
##A79D2C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9817
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#B49287
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79d2c;
/* rgb */ color: rgb(167, 157, 44);
/* oklch */ color: oklch(68.4% 0.129 104.2);
Tailwind
colors: {
  custom: {
    50: '#c5b96d',
    500: '#a79d2c',
    950: '#000000',
  },
}
SCSS
$custom: #a79d2c;
$custom-light: #c5b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d2c",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 55.122,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68442,
    "c": 0.12932,
    "h": 104.2
  },
  "luminance": 0.32511
}

Semantic roles & 50–950 ramp

primary
#A79D2C
secondary
#6D74C2
accent
#53E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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