#A4B428#A4B428

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

Color values

HEX#A4B428
RGBrgb(164, 180, 40)
HSLhsl(67, 64%, 43%)
HSVhsv(67, 78%, 71%)
CMYKcmyk(8.9%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.96, -22.62, 63.83)
CIE-LCHlch(69.96, 67.72, 109.51°)
OKLaboklab(73.33% -0.0688 0.1397)
OKLCHoklch(73.33% 0.156 116.2)
XYZxyz(32.0150, 40.6887, 8.1743)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B428 #3828B4
analogous
#B47E28 #A4B428 #5EB428
triadic
#A4B428 #28A4B4 #B428A4
tetradic
#A4B428 #28B47E #3828B4 #B4285E
square
#A4B428 #28B47E #3828B4 #B4285E
split-complementary
#A4B428 #285EB4 #7E28B4
monochromatic
#495012 #76821D #A4B428 #C5D544 #D4E176

Accessibility & contrast

On white

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

On black

9.14
#A4B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B428
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B428#FFFFFF#000000##000000
##A4B4281.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b428;
/* rgb */ color: rgb(164, 180, 40);
/* oklch */ color: oklch(73.3% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c3ca6e',
    500: '#a4b428',
    950: '#000000',
  },
}
SCSS
$custom: #a4b428;
$custom-light: #c3ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b428",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 66.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.15571,
    "h": 116.2
  },
  "luminance": 0.40688
}

Semantic roles & 50–950 ramp

primary
#A4B428
secondary
#7A70C8
accent
#41E754
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B428

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

Preview Lab → · Contrast checker → · Palette generator →

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