#A4A140#A4A140

#A4A140 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.119 H 107.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A4A140
RGBrgb(164, 161, 64)
HSLhsl(58, 44%, 45%)
HSVhsv(58, 61%, 64%)
CMYKcmyk(0%, 1.8%, 61%, 35.7%)
CIE-LABlab(64.77, -11.60, 49.51)
CIE-LCHlch(64.77, 50.85, 103.18°)
OKLaboklab(69.23% -0.0357 0.1134)
OKLCHoklch(69.23% 0.119 107.5)
XYZxyz(28.9810, 33.7533, 9.8379)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A140 #4043A4
analogous
#A46F40 #A4A140 #75A440
triadic
#A4A140 #40A4A1 #A140A4
tetradic
#A4A140 #40A46F #4043A4 #A44075
square
#A4A140 #40A46F #4043A4 #A44075
split-complementary
#A4A140 #4075A4 #6F40A4
monochromatic
#4C4B1E #78762F #A4A140 #C1BE60 #D2D08C

Accessibility & contrast

On white

2.71
#A4A140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A4A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A140
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A140#FFFFFF#000000##000000
##A4A1401.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#AF978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a140;
/* rgb */ color: rgb(164, 161, 64);
/* oklch */ color: oklch(69.2% 0.119 107.5);
Tailwind
colors: {
  custom: {
    50: '#c1bc79',
    500: '#a4a140',
    950: '#000000',
  },
}
SCSS
$custom: #a4a140;
$custom-light: #c1bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a140",
  "rgb": {
    "r": 164,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 58.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69226,
    "c": 0.11886,
    "h": 107.5
  },
  "luminance": 0.33752
}

Semantic roles & 50–950 ramp

primary
#A4A140
secondary
#8384BD
accent
#58D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A4A140

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

Preview Lab → · Contrast checker → · Palette generator →

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