#A3A226#A3A226

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

Color values

HEX#A3A226
RGBrgb(163, 162, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0%, 0.6%, 76.7%, 36.1%)
CIE-LABlab(64.78, -14.01, 59.70)
CIE-LCHlch(64.78, 61.32, 103.20°)
OKLaboklab(69.16% -0.0451 0.1306)
OKLCHoklch(69.16% 0.138 109)
XYZxyz(28.3755, 33.7680, 6.8565)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A226 #2627A3
analogous
#A36426 #A3A226 #66A326
triadic
#A3A226 #26A3A2 #A226A3
tetradic
#A3A226 #26A364 #2627A3 #A32666
square
#A3A226 #26A364 #2627A3 #A32666
split-complementary
#A3A226 #2666A3 #6426A3
monochromatic
#403F0F #71711A #A3A226 #D0CF36 #DCDB68

Accessibility & contrast

On white

2.71
#A3A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A3A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A226
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A226#FFFFFF#000000##000000
##A3A2261.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#AF978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a3a226;
/* rgb */ color: rgb(163, 162, 38);
/* oklch */ color: oklch(69.2% 0.138 109.0);
Tailwind
colors: {
  custom: {
    50: '#c2bd6b',
    500: '#a3a226',
    950: '#000000',
  },
}
SCSS
$custom: #a3a226;
$custom-light: #c2bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a226",
  "rgb": {
    "r": 163,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 59.52,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69156,
    "c": 0.13812,
    "h": 109
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

primary
#A3A226
secondary
#6364C2
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A226

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

Preview Lab → · Contrast checker → · Palette generator →

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