#A3A228#A3A228

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

Color values

HEX#A3A228
RGBrgb(163, 162, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 75%, 64%)
CMYKcmyk(0%, 0.6%, 75.5%, 36.1%)
CIE-LABlab(64.79, -13.92, 59.05)
CIE-LCHlch(64.79, 60.67, 103.27°)
OKLaboklab(69.17% -0.0447 0.1296)
OKLCHoklch(69.17% 0.137 109)
XYZxyz(28.4087, 33.7813, 7.0310)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A228 #2829A3
analogous
#A36428 #A3A228 #67A328
triadic
#A3A228 #28A3A2 #A228A3
tetradic
#A3A228 #28A364 #2829A3 #A32867
square
#A3A228 #28A364 #2829A3 #A32867
split-complementary
#A3A228 #2867A3 #6428A3
monochromatic
#414010 #72711C #A3A228 #CFCD3A #DBDA6B

Accessibility & contrast

On white

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

On black

7.76
#A3A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A228
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A228#FFFFFF#000000##000000
##A3A2281.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3a228;
/* rgb */ color: rgb(163, 162, 40);
/* oklch */ color: oklch(69.2% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c2bd6c',
    500: '#a3a228',
    950: '#000000',
  },
}
SCSS
$custom: #a3a228;
$custom-light: #c2bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a228",
  "rgb": {
    "r": 163,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 59.512,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69168,
    "c": 0.13704,
    "h": 109
  },
  "luminance": 0.3378
}

Semantic roles & 50–950 ramp

primary
#A3A228
secondary
#6667C1
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A228

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

Preview Lab → · Contrast checker → · Palette generator →

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