#A3A331#A3A331

#A3A331 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.133 H 109.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A3A331
RGBrgb(163, 163, 49)
HSLhsl(60, 54%, 42%)
HSVhsv(60, 70%, 64%)
CMYKcmyk(0%, 0%, 69.9%, 36.1%)
CIE-LABlab(65.12, -14.01, 56.13)
CIE-LCHlch(65.12, 57.85, 104.01°)
OKLaboklab(69.45% -0.044 0.125)
OKLCHoklch(69.45% 0.133 109.4)
XYZxyz(28.7568, 34.2035, 7.9923)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A331 #3131A3
analogous
#A36A31 #A3A331 #6AA331
triadic
#A3A331 #31A3A3 #A331A3
tetradic
#A3A331 #31A36A #3131A3 #A3316A
square
#A3A331 #31A36A #3131A3 #A3316A
split-complementary
#A3A331 #316AA3 #6A31A3
monochromatic
#454515 #747423 #A3A331 #C8C849 #D6D678

Accessibility & contrast

On white

2.68
#A3A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A3A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A331
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A331#FFFFFF#000000##000000
##A3A3311.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#AF998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a3a331;
/* rgb */ color: rgb(163, 163, 49);
/* oklch */ color: oklch(69.5% 0.133 109.4);
Tailwind
colors: {
  custom: {
    50: '#c1be71',
    500: '#a3a331',
    950: '#000000',
  },
}
SCSS
$custom: #a3a331;
$custom-light: #c1be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a331",
  "rgb": {
    "r": 163,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.13254,
    "h": 109.4
  },
  "luminance": 0.34203
}

Semantic roles & 50–950 ramp

primary
#A3A331
secondary
#7171BF
accent
#4BDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A331

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

Preview Lab → · Contrast checker → · Palette generator →

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