#A5A030#A5A030

#A5A030 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.130 H 106.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A5A030
RGBrgb(165, 160, 48)
HSLhsl(57, 55%, 42%)
HSVhsv(57, 71%, 65%)
CMYKcmyk(0%, 3%, 70.9%, 35.3%)
CIE-LABlab(64.45, -11.62, 55.90)
CIE-LCHlch(64.45, 57.10, 101.74°)
OKLaboklab(68.95% -0.0375 0.1243)
OKLCHoklch(68.95% 0.13 106.8)
XYZxyz(28.6225, 33.3553, 7.7262)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A030 #3035A5
analogous
#A56630 #A5A030 #70A530
triadic
#A5A030 #30A5A0 #A030A5
tetradic
#A5A030 #30A566 #3035A5 #A53070
square
#A5A030 #30A566 #3035A5 #A53070
split-complementary
#A5A030 #3070A5 #6630A5
monochromatic
#464414 #767222 #A5A030 #CAC448 #D8D478

Accessibility & contrast

On white

2.74
#A5A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A5A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A030
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A030#FFFFFF#000000##000000
##A5A0301.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a030;
/* rgb */ color: rgb(165, 160, 48);
/* oklch */ color: oklch(69.0% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#c3bb70',
    500: '#a5a030',
    950: '#000000',
  },
}
SCSS
$custom: #a5a030;
$custom-light: #c3bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a030",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 57.436,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68952,
    "c": 0.12984,
    "h": 106.8
  },
  "luminance": 0.33354
}

Semantic roles & 50–950 ramp

primary
#A5A030
secondary
#7174C0
accent
#50DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A030

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

Preview Lab → · Contrast checker → · Palette generator →

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