#A5AA22#A5AA22

#A5AA22 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.148 H 111.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A5AA22
RGBrgb(165, 170, 34)
HSLhsl(62, 67%, 40%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.9%, 0%, 80%, 33.3%)
CIE-LABlab(67.18, -17.40, 63.14)
CIE-LCHlch(67.18, 65.49, 105.41°)
OKLaboklab(71.11% -0.0549 0.1371)
OKLCHoklch(71.11% 0.148 111.8)
XYZxyz(30.1816, 36.8651, 7.0388)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA22 #2722AA
analogous
#AA6B22 #A5AA22 #61AA22
triadic
#A5AA22 #22A5AA #AA22A5
tetradic
#A5AA22 #22AA6B #2722AA #AA2261
square
#A5AA22 #22AA6B #2722AA #AA2261
split-complementary
#A5AA22 #2261AA #6B22AA
monochromatic
#42440E #747718 #A5AA22 #D0D633 #DCE066

Accessibility & contrast

On white

2.51
#A5AA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A5AA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA22
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA22#FFFFFF#000000##000000
##A5AA221.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5aa22;
/* rgb */ color: rgb(165, 170, 34);
/* oklch */ color: oklch(71.1% 0.148 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36a',
    500: '#a5aa22',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa22;
$custom-light: #c3c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa22",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 62.206,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.71107,
    "c": 0.14768,
    "h": 111.8
  },
  "luminance": 0.36864
}

Semantic roles & 50–950 ramp

primary
#A5AA22
secondary
#6662C6
accent
#3EEA45
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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