#A5A430#A5A430

#A5A430 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.134 H 108.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A5A430
RGBrgb(165, 164, 48)
HSLhsl(59, 55%, 42%)
HSVhsv(59, 71%, 65%)
CMYKcmyk(0%, 0.6%, 70.9%, 35.3%)
CIE-LABlab(65.56, -13.71, 57.00)
CIE-LCHlch(65.56, 58.62, 103.52°)
OKLaboklab(69.84% -0.0434 0.1266)
OKLCHoklch(69.84% 0.134 108.9)
XYZxyz(29.3271, 34.7645, 7.9611)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A430 #3031A5
analogous
#A56A30 #A5A430 #6CA530
triadic
#A5A430 #30A5A4 #A430A5
tetradic
#A5A430 #30A56A #3031A5 #A5306C
square
#A5A430 #30A56A #3031A5 #A5306C
split-complementary
#A5A430 #306CA5 #6A30A5
monochromatic
#464614 #767522 #A5A430 #CAC948 #D8D778

Accessibility & contrast

On white

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

On black

7.95
#A5A430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A430
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A430#FFFFFF#000000##000000
##A5A4301.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a430;
/* rgb */ color: rgb(165, 164, 48);
/* oklch */ color: oklch(69.8% 0.134 108.9);
Tailwind
colors: {
  custom: {
    50: '#c3be70',
    500: '#a5a430',
    950: '#000000',
  },
}
SCSS
$custom: #a5a430;
$custom-light: #c3be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a430",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 59.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69844,
    "c": 0.13383,
    "h": 108.9
  },
  "luminance": 0.34764
}

Semantic roles & 50–950 ramp

primary
#A5A430
secondary
#7172C0
accent
#4BDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A430

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

Preview Lab → · Contrast checker → · Palette generator →

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