#A3B321#A3B321

#A3B321 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.158 H 116.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A3B321
RGBrgb(163, 179, 33)
HSLhsl(67, 69%, 42%)
HSVhsv(67, 82%, 70%)
CMYKcmyk(8.9%, 0%, 81.6%, 29.8%)
CIE-LABlab(69.57, -22.81, 65.45)
CIE-LCHlch(69.57, 69.31, 109.21°)
OKLaboklab(72.99% -0.0698 0.142)
OKLCHoklch(72.99% 0.158 116.2)
XYZxyz(31.4998, 40.1370, 7.5264)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B321 #3121B3
analogous
#B37A21 #A3B321 #5AB321
triadic
#A3B321 #21A3B3 #B321A3
tetradic
#A3B321 #21B37A #3121B3 #B3215A
square
#A3B321 #21B37A #3121B3 #B3215A
split-complementary
#A3B321 #215AB3 #7A21B3
monochromatic
#454C0E #747F17 #A3B321 #C8DA37 #D6E46B

Accessibility & contrast

On white

2.33
#A3B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A3B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B321
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B321#FFFFFF#000000##000000
##A3B3211.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB30
Tritanopia (blue-blind)
#AEA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a3b321;
/* rgb */ color: rgb(163, 179, 33);
/* oklch */ color: oklch(73.0% 0.158 116.2);
Tailwind
colors: {
  custom: {
    50: '#c2c96b',
    500: '#a3b321',
    950: '#000000',
  },
}
SCSS
$custom: #a3b321;
$custom-light: #c2c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b321",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 66.575,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.1582,
    "h": 116.2
  },
  "luminance": 0.40137
}

Semantic roles & 50–950 ramp

primary
#A3B321
secondary
#7166CA
accent
#3CEC4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B321

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

Preview Lab → · Contrast checker → · Palette generator →

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