#A5A82A#A5A82A

#A5A82A 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#A5A82A
RGBrgb(165, 168, 42)
HSLhsl(61, 60%, 41%)
HSVhsv(61, 75%, 66%)
CMYKcmyk(1.8%, 0%, 75%, 34.1%)
CIE-LABlab(66.65, -16.06, 60.17)
CIE-LCHlch(66.65, 62.28, 104.94°)
OKLaboklab(70.7% -0.0505 0.1322)
OKLCHoklch(70.7% 0.142 110.9)
XYZxyz(29.9386, 36.1726, 7.5950)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A82A #2D2AA8
analogous
#A86C2A #A5A82A #66A82A
triadic
#A5A82A #2AA5A8 #A82AA5
tetradic
#A5A82A #2AA86C #2D2AA8 #A82A66
square
#A5A82A #2AA86C #2D2AA8 #A82A66
split-complementary
#A5A82A #2A66A8 #6C2AA8
monochromatic
#454612 #75771E #A5A82A #CCCF40 #D9DB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A82A#FFFFFF#000000##000000
##A5A82A1.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)
#B5A00D
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a82a;
/* rgb */ color: rgb(165, 168, 42);
/* oklch */ color: oklch(70.7% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16e',
    500: '#a5a82a',
    950: '#000000',
  },
}
SCSS
$custom: #a5a82a;
$custom-light: #c3c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a82a",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 61.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.14156,
    "h": 110.9
  },
  "luminance": 0.36172
}

Semantic roles & 50–950 ramp

primary
#A5A82A
secondary
#6D6BC3
accent
#45E348
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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