#A3A040#A3A040

#A3A040 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.118 H 107.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A3A040
RGBrgb(163, 160, 64)
HSLhsl(58, 44%, 45%)
HSVhsv(58, 61%, 64%)
CMYKcmyk(0%, 1.8%, 60.7%, 36.1%)
CIE-LABlab(64.40, -11.50, 49.09)
CIE-LCHlch(64.40, 50.42, 103.19°)
OKLaboklab(68.92% -0.0353 0.1125)
OKLCHoklch(68.92% 0.118 107.4)
XYZxyz(28.6014, 33.2992, 9.7703)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A040 #4043A3
analogous
#A36F40 #A3A040 #75A340
triadic
#A3A040 #40A3A0 #A040A3
tetradic
#A3A040 #40A36F #4043A3 #A34075
square
#A3A040 #40A36F #4043A3 #A34075
split-complementary
#A3A040 #4075A3 #6F40A3
monochromatic
#4B4A1D #77752F #A3A040 #C0BE60 #D2D08C

Accessibility & contrast

On white

2.74
#A3A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A3A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A040
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A040#FFFFFF#000000##000000
##A3A0401.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3a040;
/* rgb */ color: rgb(163, 160, 64);
/* oklch */ color: oklch(68.9% 0.118 107.4);
Tailwind
colors: {
  custom: {
    50: '#c1bb79',
    500: '#a3a040',
    950: '#000000',
  },
}
SCSS
$custom: #a3a040;
$custom-light: #c1bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a040",
  "rgb": {
    "r": 163,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 58.182,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.11793,
    "h": 107.4
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#A3A040
secondary
#8284BD
accent
#58D354
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A3A040

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

Preview Lab → · Contrast checker → · Palette generator →

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