#A5A029#A5A029

#A5A029 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.134 H 107.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A5A029
RGBrgb(165, 160, 41)
HSLhsl(58, 60%, 40%)
HSVhsv(58, 75%, 65%)
CMYKcmyk(0%, 3%, 75.2%, 35.3%)
CIE-LABlab(64.40, -11.95, 58.41)
CIE-LCHlch(64.40, 59.63, 101.56°)
OKLaboklab(68.91% -0.0392 0.1283)
OKLCHoklch(68.91% 0.134 107)
XYZxyz(28.4892, 33.3020, 7.0246)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A029 #292EA5
analogous
#A56229 #A5A029 #6CA529
triadic
#A5A029 #29A5A0 #A029A5
tetradic
#A5A029 #29A562 #292EA5 #A5296C
square
#A5A029 #29A562 #292EA5 #A5296C
split-complementary
#A5A029 #296CA5 #6229A5
monochromatic
#434111 #74701D #A5A029 #CFC93D #DBD66E

Accessibility & contrast

On white

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

On black

7.66
#A5A029 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A029
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A029#FFFFFF#000000##000000
##A5A0291.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0F
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B19589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a029;
/* rgb */ color: rgb(165, 160, 41);
/* oklch */ color: oklch(68.9% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#c3bb6c',
    500: '#a5a029',
    950: '#000000',
  },
}
SCSS
$custom: #a5a029;
$custom-light: #c3bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a029",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 41
  },
  "hsl": {
    "h": 57.581,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.13416,
    "h": 107
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#A5A029
secondary
#686CC2
accent
#4BE344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5A029

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

Preview Lab → · Contrast checker → · Palette generator →

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