#A5B728#A5B728

#A5B728 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.159 H 116.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A5B728
RGBrgb(165, 183, 40)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 72%)
CMYKcmyk(9.8%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.88, -23.67, 64.70)
CIE-LCHlch(70.88, 68.89, 110.09°)
OKLaboklab(74.09% -0.0718 0.1415)
OKLCHoklch(74.09% 0.159 116.9)
XYZxyz(32.8344, 42.0199, 8.3880)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B728 #3A28B7
analogous
#B78128 #A5B728 #5DB728
triadic
#A5B728 #28A5B7 #B728A5
tetradic
#A5B728 #28B781 #3A28B7 #B7285D
square
#A5B728 #28B781 #3A28B7 #B7285D
split-complementary
#A5B728 #285DB7 #8128B7
monochromatic
#4A5312 #78851D #A5B728 #C4D646 #D4E178

Accessibility & contrast

On white

2.23
#A5B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A5B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B728
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B728#FFFFFF#000000##000000
##A5B7281.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b728;
/* rgb */ color: rgb(165, 183, 40);
/* oklch */ color: oklch(74.1% 0.159 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cc6f',
    500: '#a5b728',
    950: '#000000',
  },
}
SCSS
$custom: #a5b728;
$custom-light: #c3cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b728",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 67.552,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74092,
    "c": 0.15867,
    "h": 116.9
  },
  "luminance": 0.4202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5B728

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

Preview Lab → · Contrast checker → · Palette generator →

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