#A5B328#A5B328

#A5B328 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.154 H 115.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A5B328
RGBrgb(165, 179, 40)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 78%, 70%)
CMYKcmyk(7.8%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.75, -21.69, 63.67)
CIE-LCHlch(69.75, 67.26, 108.82°)
OKLaboklab(73.18% -0.0664 0.1393)
OKLCHoklch(73.18% 0.154 115.5)
XYZxyz(32.0211, 40.3933, 8.1169)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B328 #3628B3
analogous
#B37B28 #A5B328 #60B328
triadic
#A5B328 #28A5B3 #B328A5
tetradic
#A5B328 #28B37B #3628B3 #B32860
square
#A5B328 #28B37B #3628B3 #B32860
split-complementary
#A5B328 #2860B3 #7B28B3
monochromatic
#494F12 #77811D #A5B328 #C6D543 #D5E075

Accessibility & contrast

On white

2.31
#A5B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A5B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B328
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B328#FFFFFF#000000##000000
##A5B3281.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b328;
/* rgb */ color: rgb(165, 179, 40);
/* oklch */ color: oklch(73.2% 0.154 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c96e',
    500: '#a5b328',
    950: '#000000',
  },
}
SCSS
$custom: #a5b328;
$custom-light: #c3c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b328",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 66.043,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73179,
    "c": 0.15429,
    "h": 115.5
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

primary
#A5B328
secondary
#786FC8
accent
#41E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B328

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

Preview Lab → · Contrast checker → · Palette generator →

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