#A3A231#A3A231

#A3A231 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.132 H 108.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A3A231
RGBrgb(163, 162, 49)
HSLhsl(59, 54%, 42%)
HSVhsv(59, 70%, 64%)
CMYKcmyk(0%, 0.6%, 69.9%, 36.1%)
CIE-LABlab(64.84, -13.49, 55.85)
CIE-LCHlch(64.84, 57.46, 103.58°)
OKLaboklab(69.23% -0.0426 0.1244)
OKLCHoklch(69.23% 0.132 108.9)
XYZxyz(28.5800, 33.8498, 7.9333)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A231 #3132A3
analogous
#A36931 #A3A231 #6BA331
triadic
#A3A231 #31A3A2 #A231A3
tetradic
#A3A231 #31A369 #3132A3 #A3316B
square
#A3A231 #31A369 #3132A3 #A3316B
split-complementary
#A3A231 #316BA3 #6931A3
monochromatic
#454415 #747323 #A3A231 #C8C749 #D6D678

Accessibility & contrast

On white

2.70
#A3A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A3A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A231
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A231#FFFFFF#000000##000000
##A3A2311.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#AF988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a3a231;
/* rgb */ color: rgb(163, 162, 49);
/* oklch */ color: oklch(69.2% 0.132 108.9);
Tailwind
colors: {
  custom: {
    50: '#c1bd70',
    500: '#a3a231',
    950: '#000000',
  },
}
SCSS
$custom: #a3a231;
$custom-light: #c1bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a231",
  "rgb": {
    "r": 163,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 59.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.13151,
    "h": 108.9
  },
  "luminance": 0.33849
}

Semantic roles & 50–950 ramp

primary
#A3A231
secondary
#7172BF
accent
#4CDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A231

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

Preview Lab → · Contrast checker → · Palette generator →

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