#A5B028#A5B028

#A5B028 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.151 H 114.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A5B028
RGBrgb(165, 176, 40)
HSLhsl(65, 63%, 42%)
HSVhsv(65, 77%, 69%)
CMYKcmyk(6.2%, 0%, 77.3%, 31%)
CIE-LABlab(68.90, -20.20, 62.89)
CIE-LCHlch(68.90, 66.06, 107.80°)
OKLaboklab(72.5% -0.0622 0.1377)
OKLCHoklch(72.5% 0.151 114.3)
XYZxyz(31.4263, 39.2038, 7.9187)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B028 #3328B0
analogous
#B07728 #A5B028 #61B028
triadic
#A5B028 #28A5B0 #B028A5
tetradic
#A5B028 #28B077 #3328B0 #B02861
square
#A5B028 #28B077 #3328B0 #B02861
split-complementary
#A5B028 #2861B0 #7728B0
monochromatic
#484C11 #767E1D #A5B028 #C8D441 #D6DF73

Accessibility & contrast

On white

2.38
#A5B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A5B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B028
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B028#FFFFFF#000000##000000
##A5B0281.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b028;
/* rgb */ color: rgb(165, 176, 40);
/* oklch */ color: oklch(72.5% 0.151 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76e',
    500: '#a5b028',
    950: '#000000',
  },
}
SCSS
$custom: #a5b028;
$custom-light: #c3c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b028",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 64.853,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.15105,
    "h": 114.3
  },
  "luminance": 0.39203
}

Semantic roles & 50–950 ramp

primary
#A5B028
secondary
#756DC6
accent
#42E64F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B028

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

Preview Lab → · Contrast checker → · Palette generator →

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