#A79340#A79340

#A79340 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.106 H 95.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A79340
RGBrgb(167, 147, 64)
HSLhsl(48, 45%, 45%)
HSVhsv(48, 62%, 65%)
CMYKcmyk(0%, 12%, 61.7%, 34.5%)
CIE-LABlab(61.18, -2.79, 45.64)
CIE-LCHlch(61.18, 45.72, 93.50°)
OKLaboklab(66.44% -0.0107 0.1051)
OKLCHoklch(66.44% 0.106 95.8)
XYZxyz(27.2966, 29.4544, 9.0969)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79340 #4054A7
analogous
#A76040 #A79340 #87A740
triadic
#A79340 #40A793 #9340A7
tetradic
#A79340 #40A760 #4054A7 #A74087
square
#A79340 #40A760 #4054A7 #A74087
split-complementary
#A79340 #4087A7 #6040A7
monochromatic
#4F451E #7B6C2F #A79340 #C3B062 #D4C68E

Accessibility & contrast

On white

3.05
#A79340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A79340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79340
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79340#FFFFFF#000000##000000
##A793401.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19037
Deuteranopia (green-blind)
#A69644
Tritanopia (blue-blind)
#B48981
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a79340;
/* rgb */ color: rgb(167, 147, 64);
/* oklch */ color: oklch(66.4% 0.106 95.8);
Tailwind
colors: {
  custom: {
    50: '#c4b278',
    500: '#a79340',
    950: '#000000',
  },
}
SCSS
$custom: #a79340;
$custom-light: #c4b278;
$custom-dark: #000000;
JSON
{
  "hex": "#a79340",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 48.35,
    "s": 44.589,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.10561,
    "h": 95.8
  },
  "luminance": 0.29453
}

Semantic roles & 50–950 ramp

primary
#A79340
secondary
#8490BF
accent
#6DD454
background
#FCFAF7
surface
#F8F5ED
border
#D1CFC8
text
#131009
muted
#827F7B

Preview Lab

Preview with #A79340

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

Preview Lab → · Contrast checker → · Palette generator →

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