#A5A130#A5A130

#A5A130 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.131 H 107.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A5A130
RGBrgb(165, 161, 48)
HSLhsl(58, 55%, 42%)
HSVhsv(58, 71%, 65%)
CMYKcmyk(0%, 2.4%, 70.9%, 35.3%)
CIE-LABlab(64.73, -12.14, 56.18)
CIE-LCHlch(64.73, 57.47, 102.20°)
OKLaboklab(69.18% -0.039 0.1249)
OKLCHoklch(69.18% 0.131 107.3)
XYZxyz(28.7965, 33.7034, 7.7843)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A130 #3034A5
analogous
#A56730 #A5A130 #6FA530
triadic
#A5A130 #30A5A1 #A130A5
tetradic
#A5A130 #30A567 #3034A5 #A5306F
square
#A5A130 #30A567 #3034A5 #A5306F
split-complementary
#A5A130 #306FA5 #6730A5
monochromatic
#464414 #767322 #A5A130 #CAC548 #D8D478

Accessibility & contrast

On white

2.71
#A5A130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A5A130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A130
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A130#FFFFFF#000000##000000
##A5A1301.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a130;
/* rgb */ color: rgb(165, 161, 48);
/* oklch */ color: oklch(69.2% 0.131 107.3);
Tailwind
colors: {
  custom: {
    50: '#c3bc70',
    500: '#a5a130',
    950: '#000000',
  },
}
SCSS
$custom: #a5a130;
$custom-light: #c3bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a130",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 57.949,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69175,
    "c": 0.13082,
    "h": 107.3
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

primary
#A5A130
secondary
#7174C0
accent
#4FDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A130

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

Preview Lab → · Contrast checker → · Palette generator →

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