#A3B421#A3B421

#A3B421 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.159 H 116.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A3B421
RGBrgb(163, 180, 33)
HSLhsl(67, 69%, 42%)
HSVhsv(67, 82%, 71%)
CMYKcmyk(9.4%, 0%, 81.7%, 29.4%)
CIE-LABlab(69.85, -23.30, 65.70)
CIE-LCHlch(69.85, 69.71, 109.53°)
OKLaboklab(73.22% -0.0712 0.1425)
OKLCHoklch(73.22% 0.159 116.5)
XYZxyz(31.7009, 40.5393, 7.5934)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B421 #3221B4
analogous
#B47C21 #A3B421 #5AB421
triadic
#A3B421 #21A3B4 #B421A3
tetradic
#A3B421 #21B47C #3221B4 #B4215A
square
#A3B421 #21B47C #3221B4 #B4215A
split-complementary
#A3B421 #215AB4 #7C21B4
monochromatic
#454D0E #748018 #A3B421 #C8DA38 #D6E46B

Accessibility & contrast

On white

2.31
#A3B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A3B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B421
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B421#FFFFFF#000000##000000
##A3B4211.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAC30
Tritanopia (blue-blind)
#AEA99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a3b421;
/* rgb */ color: rgb(163, 180, 33);
/* oklch */ color: oklch(73.2% 0.159 116.5);
Tailwind
colors: {
  custom: {
    50: '#c2ca6b',
    500: '#a3b421',
    950: '#000000',
  },
}
SCSS
$custom: #a3b421;
$custom-light: #c2ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b421",
  "rgb": {
    "r": 163,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 66.939,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73215,
    "c": 0.15928,
    "h": 116.5
  },
  "luminance": 0.40539
}

Semantic roles & 50–950 ramp

primary
#A3B421
secondary
#7267CA
accent
#3CEC50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B421

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

Preview Lab → · Contrast checker → · Palette generator →

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