#A5A82E#A5A82E

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

Color values

HEX#A5A82E
RGBrgb(165, 168, 46)
HSLhsl(61, 57%, 42%)
HSVhsv(61, 73%, 66%)
CMYKcmyk(1.8%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.67, -15.87, 58.81)
CIE-LCHlch(66.67, 60.91, 105.10°)
OKLaboklab(70.73% -0.0497 0.1301)
OKLCHoklch(70.73% 0.139 110.9)
XYZxyz(30.0138, 36.2027, 7.9910)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A82E #312EA8
analogous
#A86E2E #A5A82E #68A82E
triadic
#A5A82E #2EA5A8 #A82EA5
tetradic
#A5A82E #2EA86E #312EA8 #A82E68
square
#A5A82E #2EA86E #312EA8 #A82E68
split-complementary
#A5A82E #2E68A8 #6E2EA8
monochromatic
#474814 #767821 #A5A82E #C9CD47 #D7DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A82E#FFFFFF#000000##000000
##A5A82E1.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)
#B5A017
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a82e;
/* rgb */ color: rgb(165, 168, 46);
/* oklch */ color: oklch(70.7% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c170',
    500: '#a5a82e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a82e;
$custom-light: #c3c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a82e",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 61.475,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.13922,
    "h": 110.9
  },
  "luminance": 0.36202
}

Semantic roles & 50–950 ramp

primary
#A5A82E
secondary
#7270C2
accent
#48E04B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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