#A3A42A#A3A42A

#A3A42A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.138 H 110.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A3A42A
RGBrgb(163, 164, 42)
HSLhsl(60, 59%, 40%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0.6%, 0%, 74.4%, 35.7%)
CIE-LABlab(65.36, -14.87, 58.91)
CIE-LCHlch(65.36, 60.76, 104.17°)
OKLaboklab(69.63% -0.0471 0.1296)
OKLCHoklch(69.63% 0.138 110)
XYZxyz(28.7987, 34.5055, 7.3332)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A42A #2B2AA4
analogous
#A4682A #A3A42A #66A42A
triadic
#A3A42A #2AA3A4 #A42AA3
tetradic
#A3A42A #2AA468 #2B2AA4 #A42A66
square
#A3A42A #2AA468 #2B2AA4 #A42A66
split-complementary
#A3A42A #2A66A4 #682AA4
monochromatic
#424311 #73731E #A3A42A #CCCD3E #D9DA6E

Accessibility & contrast

On white

2.66
#A3A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A3A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A42A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A42A#FFFFFF#000000##000000
##A3A42A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D10
Deuteranopia (green-blind)
#B3A034
Tritanopia (blue-blind)
#AF998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a3a42a;
/* rgb */ color: rgb(163, 164, 42);
/* oklch */ color: oklch(69.6% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#c2be6d',
    500: '#a3a42a',
    950: '#000000',
  },
}
SCSS
$custom: #a3a42a;
$custom-light: #c2be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a42a",
  "rgb": {
    "r": 163,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 60.492,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69629,
    "c": 0.13792,
    "h": 110
  },
  "luminance": 0.34505
}

Semantic roles & 50–950 ramp

primary
#A3A42A
secondary
#6A69C1
accent
#45E247
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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