#A3A126#A3A126

#A3A126 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.137 H 108.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A3A126
RGBrgb(163, 161, 38)
HSLhsl(59, 62%, 39%)
HSVhsv(59, 77%, 64%)
CMYKcmyk(0%, 1.2%, 76.7%, 36.1%)
CIE-LABlab(64.50, -13.49, 59.45)
CIE-LCHlch(64.50, 60.96, 102.78°)
OKLaboklab(68.93% -0.0436 0.13)
OKLCHoklch(68.93% 0.137 108.5)
XYZxyz(28.2001, 33.4171, 6.7980)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A126 #2628A3
analogous
#A36326 #A3A126 #67A326
triadic
#A3A126 #26A3A1 #A126A3
tetradic
#A3A126 #26A363 #2628A3 #A32667
square
#A3A126 #26A363 #2628A3 #A32667
split-complementary
#A3A126 #2667A3 #6326A3
monochromatic
#403F0F #71701A #A3A126 #D0CE36 #DCDA68

Accessibility & contrast

On white

2.73
#A3A126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A3A126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A126
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A126#FFFFFF#000000##000000
##A3A1261.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AF968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a3a126;
/* rgb */ color: rgb(163, 161, 38);
/* oklch */ color: oklch(68.9% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#c2bc6b',
    500: '#a3a126',
    950: '#000000',
  },
}
SCSS
$custom: #a3a126;
$custom-light: #c2bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a126",
  "rgb": {
    "r": 163,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 59.04,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.13715,
    "h": 108.5
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#A3A126
secondary
#6365C2
accent
#45E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A126

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

Preview Lab → · Contrast checker → · Palette generator →

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