#A5A829#A5A829

#A5A829 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.142 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A5A829
RGBrgb(165, 168, 41)
HSLhsl(61, 61%, 41%)
HSVhsv(61, 76%, 66%)
CMYKcmyk(1.8%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.65, -16.10, 60.50)
CIE-LCHlch(66.65, 62.61, 104.90°)
OKLaboklab(70.69% -0.0508 0.1327)
OKLCHoklch(70.69% 0.142 110.9)
XYZxyz(29.9210, 36.1655, 7.5019)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A829 #2C29A8
analogous
#A86B29 #A5A829 #65A829
triadic
#A5A829 #29A5A8 #A829A5
tetradic
#A5A829 #29A86B #2C29A8 #A82965
square
#A5A829 #29A86B #2C29A8 #A82965
split-complementary
#A5A829 #2965A8 #6B29A8
monochromatic
#444611 #75771D #A5A829 #CDD03E #D9DC6F

Accessibility & contrast

On white

2.55
#A5A829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A5A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A829
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A829#FFFFFF#000000##000000
##A5A8291.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00A
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a829;
/* rgb */ color: rgb(165, 168, 41);
/* oklch */ color: oklch(70.7% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16d',
    500: '#a5a829',
    950: '#000000',
  },
}
SCSS
$custom: #a5a829;
$custom-light: #c3c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a829",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 61.417,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.14211,
    "h": 110.9
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#A5A829
secondary
#6C6AC3
accent
#44E448
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A829

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

Preview Lab → · Contrast checker → · Palette generator →

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