#A4B728#A4B728

#A4B728 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.0% C 0.159 H 117.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A4B728
RGBrgb(164, 183, 40)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 72%)
CMYKcmyk(10.4%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.81, -24.09, 64.61)
CIE-LCHlch(70.81, 68.95, 110.45°)
OKLaboklab(74.01% -0.0729 0.1413)
OKLCHoklch(74.01% 0.159 117.3)
XYZxyz(32.6272, 41.9131, 8.3783)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B728 #3B28B7
analogous
#B78228 #A4B728 #5CB728
triadic
#A4B728 #28A4B7 #B728A4
tetradic
#A4B728 #28B782 #3B28B7 #B7285C
square
#A4B728 #28B782 #3B28B7 #B7285C
split-complementary
#A4B728 #285CB7 #8228B7
monochromatic
#4A5312 #77851D #A4B728 #C3D646 #D3E178

Accessibility & contrast

On white

2.24
#A4B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#A4B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B728
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B728#FFFFFF#000000##000000
##A4B7281.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#AEAC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a4b728;
/* rgb */ color: rgb(164, 183, 40);
/* oklch */ color: oklch(74.0% 0.159 117.3);
Tailwind
colors: {
  custom: {
    50: '#c3cc6f',
    500: '#a4b728',
    950: '#000000',
  },
}
SCSS
$custom: #a4b728;
$custom-light: #c3cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b728",
  "rgb": {
    "r": 164,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 67.972,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74014,
    "c": 0.15902,
    "h": 117.3
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#A4B728
secondary
#7D72C9
accent
#41E757
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B728

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

Preview Lab → · Contrast checker → · Palette generator →

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