#A5A82C#A5A82C

#A5A82C 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#A5A82C
RGBrgb(165, 168, 44)
HSLhsl(61, 58%, 42%)
HSVhsv(61, 74%, 66%)
CMYKcmyk(1.8%, 0%, 73.8%, 34.1%)
CIE-LABlab(66.66, -15.97, 59.50)
CIE-LCHlch(66.66, 61.61, 105.02°)
OKLaboklab(70.71% -0.0501 0.1312)
OKLCHoklch(70.71% 0.14 110.9)
XYZxyz(29.9753, 36.1873, 7.7882)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A82C #2F2CA8
analogous
#A86D2C #A5A82C #67A82C
triadic
#A5A82C #2CA5A8 #A82CA5
tetradic
#A5A82C #2CA86D #2F2CA8 #A82C67
square
#A5A82C #2CA86D #2F2CA8 #A82C67
split-complementary
#A5A82C #2C67A8 #6D2CA8
monochromatic
#464713 #75781F #A5A82C #CBCE43 #D8DB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A82C#FFFFFF#000000##000000
##A5A82C1.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)
#B5A012
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a82c;
/* rgb */ color: rgb(165, 168, 44);
/* oklch */ color: oklch(70.7% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16f',
    500: '#a5a82c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a82c;
$custom-light: #c3c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a82c",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 61.452,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70713,
    "c": 0.14042,
    "h": 110.9
  },
  "luminance": 0.36186
}

Semantic roles & 50–950 ramp

primary
#A5A82C
secondary
#706EC2
accent
#46E24A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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