#A4A040#A4A040

#A4A040 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.118 H 106.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A4A040
RGBrgb(164, 160, 64)
HSLhsl(58, 44%, 45%)
HSVhsv(58, 61%, 64%)
CMYKcmyk(0%, 2.4%, 61%, 35.7%)
CIE-LABlab(64.49, -11.07, 49.20)
CIE-LCHlch(64.49, 50.43, 102.68°)
OKLaboklab(69% -0.0342 0.1127)
OKLCHoklch(69% 0.118 106.9)
XYZxyz(28.8070, 33.4052, 9.7799)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A040 #4044A4
analogous
#A46E40 #A4A040 #76A440
triadic
#A4A040 #40A4A0 #A040A4
tetradic
#A4A040 #40A46E #4044A4 #A44076
square
#A4A040 #40A46E #4044A4 #A44076
split-complementary
#A4A040 #4076A4 #6E40A4
monochromatic
#4C4A1E #78752F #A4A040 #C1BD60 #D2CF8C

Accessibility & contrast

On white

2.73
#A4A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A4A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A040
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A040#FFFFFF#000000##000000
##A4A0401.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#AF9E46
Tritanopia (blue-blind)
#AF968C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a4a040;
/* rgb */ color: rgb(164, 160, 64);
/* oklch */ color: oklch(69.0% 0.118 106.9);
Tailwind
colors: {
  custom: {
    50: '#c1bb79',
    500: '#a4a040',
    950: '#000000',
  },
}
SCSS
$custom: #a4a040;
$custom-light: #c1bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a040",
  "rgb": {
    "r": 164,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 57.6,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69004,
    "c": 0.11781,
    "h": 106.9
  },
  "luminance": 0.33404
}

Semantic roles & 50–950 ramp

primary
#A4A040
secondary
#8385BD
accent
#59D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A4A040

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

Preview Lab → · Contrast checker → · Palette generator →

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