#A5A428#A5A428

#A5A428 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.139 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A428
RGBrgb(165, 164, 40)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 65%)
CMYKcmyk(0%, 0.6%, 75.8%, 35.3%)
CIE-LABlab(65.52, -14.08, 59.79)
CIE-LCHlch(65.52, 61.42, 103.25°)
OKLaboklab(69.79% -0.0452 0.131)
OKLCHoklch(69.79% 0.139 109)
XYZxyz(29.1766, 34.7044, 7.1688)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A428 #2829A5
analogous
#A56528 #A5A428 #67A528
triadic
#A5A428 #28A5A4 #A428A5
tetradic
#A5A428 #28A565 #2829A5 #A52867
square
#A5A428 #28A565 #2829A5 #A52867
split-complementary
#A5A428 #2867A5 #6528A5
monochromatic
#424210 #74731C #A5A428 #CFCE3B #DBDA6C

Accessibility & contrast

On white

2.64
#A5A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A5A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A428
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A428#FFFFFF#000000##000000
##A5A4281.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0A
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a428;
/* rgb */ color: rgb(165, 164, 40);
/* oklch */ color: oklch(69.8% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c3be6c',
    500: '#a5a428',
    950: '#000000',
  },
}
SCSS
$custom: #a5a428;
$custom-light: #c3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a428",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 59.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.13862,
    "h": 109
  },
  "luminance": 0.34703
}

Semantic roles & 50–950 ramp

primary
#A5A428
secondary
#6768C2
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A428

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

Preview Lab → · Contrast checker → · Palette generator →

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