#A4B321#A4B321

#A4B321 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.158 H 115.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A4B321
RGBrgb(164, 179, 33)
HSLhsl(66, 69%, 42%)
HSVhsv(66, 82%, 70%)
CMYKcmyk(8.4%, 0%, 81.6%, 29.8%)
CIE-LABlab(69.64, -22.38, 65.54)
CIE-LCHlch(69.64, 69.26, 108.85°)
OKLaboklab(73.07% -0.0687 0.1421)
OKLCHoklch(73.07% 0.158 115.8)
XYZxyz(31.7054, 40.2430, 7.5360)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B321 #3021B3
analogous
#B37921 #A4B321 #5BB321
triadic
#A4B321 #21A4B3 #B321A4
tetradic
#A4B321 #21B379 #3021B3 #B3215B
square
#A4B321 #21B379 #3021B3 #B3215B
split-complementary
#A4B321 #215BB3 #7921B3
monochromatic
#454C0E #757F17 #A4B321 #C9DA37 #D7E46B

Accessibility & contrast

On white

2.32
#A4B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A4B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B321
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B321#FFFFFF#000000##000000
##A4B3211.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b321;
/* rgb */ color: rgb(164, 179, 33);
/* oklch */ color: oklch(73.1% 0.158 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c96b',
    500: '#a4b321',
    950: '#000000',
  },
}
SCSS
$custom: #a4b321;
$custom-light: #c3c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b321",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 66.164,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.73065,
    "c": 0.15785,
    "h": 115.8
  },
  "luminance": 0.40243
}

Semantic roles & 50–950 ramp

primary
#A4B321
secondary
#7066CA
accent
#3CEC4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B321

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

Preview Lab → · Contrast checker → · Palette generator →

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