#A5A82D#A5A82D

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

Color values

HEX#A5A82D
RGBrgb(165, 168, 45)
HSLhsl(61, 58%, 42%)
HSVhsv(61, 73%, 66%)
CMYKcmyk(1.8%, 0%, 73.2%, 34.1%)
CIE-LABlab(66.67, -15.92, 59.16)
CIE-LCHlch(66.67, 61.26, 105.06°)
OKLaboklab(70.72% -0.0499 0.1306)
OKLCHoklch(70.72% 0.14 110.9)
XYZxyz(29.9944, 36.1949, 7.8884)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A82D #302DA8
analogous
#A86D2D #A5A82D #68A82D
triadic
#A5A82D #2DA5A8 #A82DA5
tetradic
#A5A82D #2DA86D #302DA8 #A82D68
square
#A5A82D #2DA86D #302DA8 #A82D68
split-complementary
#A5A82D #2D68A8 #6D2DA8
monochromatic
#464713 #767820 #A5A82D #CACD45 #D8DA75

Accessibility & contrast

On white

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

On black

8.24
#A5A82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A82D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A82D#FFFFFF#000000##000000
##A5A82D1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a82d;
/* rgb */ color: rgb(165, 168, 45);
/* oklch */ color: oklch(70.7% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16f',
    500: '#a5a82d',
    950: '#000000',
  },
}
SCSS
$custom: #a5a82d;
$custom-light: #c3c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a82d",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 61.463,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.13982,
    "h": 110.9
  },
  "luminance": 0.36194
}

Semantic roles & 50–950 ramp

primary
#A5A82D
secondary
#716FC2
accent
#47E14B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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