#A9B728#A9B728

#A9B728 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.157 H 115.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#A9B728
RGBrgb(169, 183, 40)
HSLhsl(66, 64%, 44%)
HSVhsv(66, 78%, 72%)
CMYKcmyk(7.7%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.18, -21.98, 65.08)
CIE-LCHlch(71.18, 68.69, 108.66°)
OKLaboklab(74.41% -0.0673 0.1422)
OKLCHoklch(74.41% 0.157 115.3)
XYZxyz(33.6796, 42.4558, 8.4277)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B728 #3628B7
analogous
#B77D28 #A9B728 #61B728
triadic
#A9B728 #28A9B7 #B728A9
tetradic
#A9B728 #28B77D #3628B7 #B72861
square
#A9B728 #28B77D #3628B7 #B72861
split-complementary
#A9B728 #2861B7 #7D28B7
monochromatic
#4C5312 #7B851D #A9B728 #C8D646 #D7E178

Accessibility & contrast

On white

2.21
#A9B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#A9B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B728
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B728#FFFFFF#000000##000000
##A9B7281.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#B4AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a9b728;
/* rgb */ color: rgb(169, 183, 40);
/* oklch */ color: oklch(74.4% 0.157 115.3);
Tailwind
colors: {
  custom: {
    50: '#c6cc6f',
    500: '#a9b728',
    950: '#000000',
  },
}
SCSS
$custom: #a9b728;
$custom-light: #c6cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b728",
  "rgb": {
    "r": 169,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 65.874,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.1573,
    "h": 115.3
  },
  "luminance": 0.42455
}

Semantic roles & 50–950 ramp

primary
#A9B728
secondary
#7A72C9
accent
#41E751
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9B728

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

Preview Lab → · Contrast checker → · Palette generator →

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