#A79142#A79142

#A79142 is a light, moderate yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.102 H 93.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A79142
RGBrgb(167, 145, 66)
HSLhsl(47, 43%, 46%)
HSVhsv(47, 60%, 65%)
CMYKcmyk(0%, 13.2%, 60.5%, 34.5%)
CIE-LABlab(60.66, -1.55, 44.09)
CIE-LCHlch(60.66, 44.12, 92.02°)
OKLaboklab(66.04% -0.0069 0.102)
OKLCHoklch(66.04% 0.102 93.9)
XYZxyz(27.0463, 28.8610, 9.2993)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79142 #4258A7
analogous
#A75E42 #A79142 #8AA742
triadic
#A79142 #42A791 #9142A7
tetradic
#A79142 #42A75E #4258A7 #A7428A
square
#A79142 #42A75E #4258A7 #A7428A
split-complementary
#A79142 #428AA7 #5E42A7
monochromatic
#4F451F #7B6B31 #A79142 #C2AD64 #D3C590

Accessibility & contrast

On white

3.10
#A79142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A79142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79142
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79142#FFFFFF#000000##000000
##A791421.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E3A
Deuteranopia (green-blind)
#A49546
Tritanopia (blue-blind)
#B48780
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79142;
/* rgb */ color: rgb(167, 145, 66);
/* oklch */ color: oklch(66.0% 0.102 93.9);
Tailwind
colors: {
  custom: {
    50: '#c4b179',
    500: '#a79142',
    950: '#000000',
  },
}
SCSS
$custom: #a79142;
$custom-light: #c4b179;
$custom-dark: #000000;
JSON
{
  "hex": "#a79142",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 46.931,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.10227,
    "h": 93.9
  },
  "luminance": 0.2886
}

Semantic roles & 50–950 ramp

primary
#A79142
secondary
#8693BE
accent
#70D355
background
#FCFAF7
surface
#F8F4EE
border
#D1CEC9
text
#131009
muted
#827F7B

Preview Lab

Preview with #A79142

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

Preview Lab → · Contrast checker → · Palette generator →

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