#A3A42B#A3A42B

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

Color values

HEX#A3A42B
RGBrgb(163, 164, 43)
HSLhsl(60, 58%, 41%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(65.37, -14.83, 58.57)
CIE-LCHlch(65.37, 60.41, 104.21°)
OKLaboklab(69.64% -0.0469 0.1291)
OKLCHoklch(69.64% 0.137 110)
XYZxyz(28.8168, 34.5127, 7.4287)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A42B #2C2BA4
analogous
#A4682B #A3A42B #66A42B
triadic
#A3A42B #2BA3A4 #A42BA3
tetradic
#A3A42B #2BA468 #2C2BA4 #A42B66
square
#A3A42B #2BA468 #2C2BA4 #A42B66
split-complementary
#A3A42B #2B66A4 #682BA4
monochromatic
#434312 #73741E #A3A42B #CCCD3F #D9D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3A42B#FFFFFF#000000##000000
##A3A42B1.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)
#B19D12
Deuteranopia (green-blind)
#B3A035
Tritanopia (blue-blind)
#AF998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a3a42b;
/* rgb */ color: rgb(163, 164, 43);
/* oklch */ color: oklch(69.6% 0.137 110.0);
Tailwind
colors: {
  custom: {
    50: '#c2be6e',
    500: '#a3a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a3a42b;
$custom-light: #c2be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a42b",
  "rgb": {
    "r": 163,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 60.496,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.13734,
    "h": 110
  },
  "luminance": 0.34512
}

Semantic roles & 50–950 ramp

primary
#A3A42B
secondary
#6B6AC1
accent
#46E247
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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