#A5A129#A5A129

#A5A129 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.135 H 107.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A5A129
RGBrgb(165, 161, 41)
HSLhsl(58, 60%, 40%)
HSVhsv(58, 75%, 65%)
CMYKcmyk(0%, 2.4%, 75.2%, 35.3%)
CIE-LABlab(64.68, -12.48, 58.68)
CIE-LCHlch(64.68, 59.99, 102.00°)
OKLaboklab(69.13% -0.0406 0.1289)
OKLCHoklch(69.13% 0.135 107.5)
XYZxyz(28.6633, 33.6502, 7.0827)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A129 #292DA5
analogous
#A56329 #A5A129 #6BA529
triadic
#A5A129 #29A5A1 #A129A5
tetradic
#A5A129 #29A563 #292DA5 #A5296B
square
#A5A129 #29A563 #292DA5 #A5296B
split-complementary
#A5A129 #296BA5 #6329A5
monochromatic
#434111 #74711D #A5A129 #CFCA3D #DBD76E

Accessibility & contrast

On white

2.72
#A5A129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A5A129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A129
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A129#FFFFFF#000000##000000
##A5A1291.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#B1968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a129;
/* rgb */ color: rgb(165, 161, 41);
/* oklch */ color: oklch(69.1% 0.135 107.5);
Tailwind
colors: {
  custom: {
    50: '#c3bc6c',
    500: '#a5a129',
    950: '#000000',
  },
}
SCSS
$custom: #a5a129;
$custom-light: #c3bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a129",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 58.065,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.13513,
    "h": 107.5
  },
  "luminance": 0.33649
}

Semantic roles & 50–950 ramp

primary
#A5A129
secondary
#686BC2
accent
#4AE344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A129

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

Preview Lab → · Contrast checker → · Palette generator →

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