#A5B428#A5B428

#A5B428 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.155 H 115.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A5B428
RGBrgb(165, 180, 40)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(8.3%, 0%, 77.8%, 29.4%)
CIE-LABlab(70.03, -22.19, 63.93)
CIE-LCHlch(70.03, 67.67, 109.14°)
OKLaboklab(73.41% -0.0677 0.1398)
OKLCHoklch(73.41% 0.155 115.8)
XYZxyz(32.2222, 40.7956, 8.1840)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B428 #3728B4
analogous
#B47D28 #A5B428 #5FB428
triadic
#A5B428 #28A5B4 #B428A5
tetradic
#A5B428 #28B47D #3728B4 #B4285F
square
#A5B428 #28B47D #3728B4 #B4285F
split-complementary
#A5B428 #285FB4 #7D28B4
monochromatic
#495012 #77821D #A5B428 #C6D544 #D5E176

Accessibility & contrast

On white

2.29
#A5B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A5B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B428
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B428#FFFFFF#000000##000000
##A5B4281.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b428;
/* rgb */ color: rgb(165, 180, 40);
/* oklch */ color: oklch(73.4% 0.155 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3ca6e',
    500: '#a5b428',
    950: '#000000',
  },
}
SCSS
$custom: #a5b428;
$custom-light: #c3ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b428",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 66.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.15537,
    "h": 115.8
  },
  "luminance": 0.40795
}

Semantic roles & 50–950 ramp

primary
#A5B428
secondary
#7970C8
accent
#41E753
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B428

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

Preview Lab → · Contrast checker → · Palette generator →

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