#A4B421#A4B421

#A4B421 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.159 H 116.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A4B421
RGBrgb(164, 180, 33)
HSLhsl(67, 69%, 42%)
HSVhsv(67, 82%, 71%)
CMYKcmyk(8.9%, 0%, 81.7%, 29.4%)
CIE-LABlab(69.93, -22.88, 65.79)
CIE-LCHlch(69.93, 69.66, 109.17°)
OKLaboklab(73.29% -0.0701 0.1426)
OKLCHoklch(73.29% 0.159 116.2)
XYZxyz(31.9065, 40.6453, 7.6031)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B421 #3121B4
analogous
#B47B21 #A4B421 #5AB421
triadic
#A4B421 #21A4B4 #B421A4
tetradic
#A4B421 #21B47B #3121B4 #B4215A
square
#A4B421 #21B47B #3121B4 #B4215A
split-complementary
#A4B421 #215AB4 #7B21B4
monochromatic
#464D0E #758018 #A4B421 #C9DA38 #D7E46B

Accessibility & contrast

On white

2.30
#A4B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A4B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B421
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B421#FFFFFF#000000##000000
##A4B4211.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b421;
/* rgb */ color: rgb(164, 180, 33);
/* oklch */ color: oklch(73.3% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#c3ca6b',
    500: '#a4b421',
    950: '#000000',
  },
}
SCSS
$custom: #a4b421;
$custom-light: #c3ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b421",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 66.531,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73294,
    "c": 0.15892,
    "h": 116.2
  },
  "luminance": 0.40645
}

Semantic roles & 50–950 ramp

primary
#A4B421
secondary
#7267CA
accent
#3CEC4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4B421

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

Preview Lab → · Contrast checker → · Palette generator →

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