#A4B221#A4B221

#A4B221 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.157 H 115.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A4B221
RGBrgb(164, 178, 33)
HSLhsl(66, 69%, 41%)
HSVhsv(66, 81%, 70%)
CMYKcmyk(7.9%, 0%, 81.5%, 30.2%)
CIE-LABlab(69.36, -21.89, 65.30)
CIE-LCHlch(69.36, 68.87, 108.53°)
OKLaboklab(72.84% -0.0673 0.1416)
OKLCHoklch(72.84% 0.157 115.4)
XYZxyz(31.5057, 39.8436, 7.4695)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B221 #2F21B2
analogous
#B27821 #A4B221 #5CB221
triadic
#A4B221 #21A4B2 #B221A4
tetradic
#A4B221 #21B278 #2F21B2 #B2215C
square
#A4B221 #21B278 #2F21B2 #B2215C
split-complementary
#A4B221 #215CB2 #7821B2
monochromatic
#454B0E #747E17 #A4B221 #CADA36 #D8E36A

Accessibility & contrast

On white

2.34
#A4B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A4B221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B221
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B221#FFFFFF#000000##000000
##A4B2211.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#AFA798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b221;
/* rgb */ color: rgb(164, 178, 33);
/* oklch */ color: oklch(72.8% 0.157 115.4);
Tailwind
colors: {
  custom: {
    50: '#c3c86b',
    500: '#a4b221',
    950: '#000000',
  },
}
SCSS
$custom: #a4b221;
$custom-light: #c3c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b221",
  "rgb": {
    "r": 164,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 65.793,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.15678,
    "h": 115.4
  },
  "luminance": 0.39843
}

Semantic roles & 50–950 ramp

primary
#A4B221
secondary
#6F66C9
accent
#3CEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B221

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

Preview Lab → · Contrast checker → · Palette generator →

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