#A5A629#A5A629

#A5A629 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.140 H 110.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A5A629
RGBrgb(165, 166, 41)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 65%)
CMYKcmyk(0.6%, 0%, 75.3%, 34.9%)
CIE-LABlab(66.08, -15.07, 59.98)
CIE-LCHlch(66.08, 61.85, 104.11°)
OKLaboklab(70.25% -0.0479 0.1316)
OKLCHoklch(70.25% 0.14 110)
XYZxyz(29.5546, 35.4327, 7.3798)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A629 #2A29A6
analogous
#A66829 #A5A629 #66A629
triadic
#A5A629 #29A5A6 #A629A5
tetradic
#A5A629 #29A668 #2A29A6 #A62966
square
#A5A629 #29A668 #2A29A6 #A62966
split-complementary
#A5A629 #2966A6 #6829A6
monochromatic
#434411 #74751D #A5A629 #CECF3D #DADB6E

Accessibility & contrast

On white

2.60
#A5A629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A5A629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A629
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A629#FFFFFF#000000##000000
##A5A6291.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0C
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a629;
/* rgb */ color: rgb(165, 166, 41);
/* oklch */ color: oklch(70.2% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#c3c06d',
    500: '#a5a629',
    950: '#000000',
  },
}
SCSS
$custom: #a5a629;
$custom-light: #c3c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a629",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 41
  },
  "hsl": {
    "h": 60.48,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.14008,
    "h": 110
  },
  "luminance": 0.35432
}

Semantic roles & 50–950 ramp

primary
#A5A629
secondary
#6969C2
accent
#44E446
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A629

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

Preview Lab → · Contrast checker → · Palette generator →

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