#A79D2E#A79D2E

#A79D2E is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.128 H 104.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A79D2E
RGBrgb(167, 157, 46)
HSLhsl(55, 57%, 42%)
HSVhsv(55, 72%, 65%)
CMYKcmyk(0%, 6%, 72.5%, 34.5%)
CIE-LABlab(63.78, -9.25, 56.07)
CIE-LCHlch(63.78, 56.83, 99.37°)
OKLaboklab(68.46% -0.0312 0.1242)
OKLCHoklch(68.46% 0.128 104.1)
XYZxyz(28.4877, 32.5278, 7.3622)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D2E #2E38A7
analogous
#A7602E #A79D2E #75A72E
triadic
#A79D2E #2EA79D #9D2EA7
tetradic
#A79D2E #2EA760 #2E38A7 #A72E75
square
#A79D2E #2EA760 #2E38A7 #A72E75
split-complementary
#A79D2E #2E75A7 #602EA7
monochromatic
#474314 #777021 #A79D2E #CCC146 #D9D176

Accessibility & contrast

On white

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

On black

7.51
#A79D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D2E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D2E#FFFFFF#000000##000000
##A79D2E1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a79d2e;
/* rgb */ color: rgb(167, 157, 46);
/* oklch */ color: oklch(68.5% 0.128 104.1);
Tailwind
colors: {
  custom: {
    50: '#c5b96e',
    500: '#a79d2e',
    950: '#000000',
  },
}
SCSS
$custom: #a79d2e;
$custom-light: #c5b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d2e",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 55.041,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68456,
    "c": 0.12806,
    "h": 104.1
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#A79D2E
secondary
#7076C1
accent
#54E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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