#A3AA40#A3AA40

#A3AA40 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.129 H 112.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A3AA40
RGBrgb(163, 170, 64)
HSLhsl(64, 45%, 46%)
HSVhsv(64, 62%, 67%)
CMYKcmyk(4.1%, 0%, 62.4%, 33.3%)
CIE-LABlab(67.21, -16.69, 52.12)
CIE-LCHlch(67.21, 54.73, 107.76°)
OKLaboklab(71.15% -0.05 0.119)
OKLCHoklch(71.15% 0.129 112.8)
XYZxyz(30.4052, 36.9068, 10.3715)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AA40 #4740AA
analogous
#AA7C40 #A3AA40 #6EAA40
triadic
#A3AA40 #40A3AA #AA40A3
tetradic
#A3AA40 #40AA7C #4740AA #AA406E
square
#A3AA40 #40AA7C #4740AA #AA406E
split-complementary
#A3AA40 #406EAA #7C40AA
monochromatic
#4E511F #787E2F #A3AA40 #BEC463 #D0D58F

Accessibility & contrast

On white

2.51
#A3AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A3AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AA40
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AA40#FFFFFF#000000##000000
##A3AA401.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#ADA094
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a3aa40;
/* rgb */ color: rgb(163, 170, 64);
/* oklch */ color: oklch(71.2% 0.129 112.8);
Tailwind
colors: {
  custom: {
    50: '#c1c37a',
    500: '#a3aa40',
    950: '#000000',
  },
}
SCSS
$custom: #a3aa40;
$custom-light: #c1c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3aa40",
  "rgb": {
    "r": 163,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 63.962,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71154,
    "c": 0.12903,
    "h": 112.8
  },
  "luminance": 0.36906
}

Semantic roles & 50–950 ramp

primary
#A3AA40
secondary
#8A86C0
accent
#53D55B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A3AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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