#A5AA2B#A5AA2B

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

Color values

HEX#A5AA2B
RGBrgb(165, 170, 43)
HSLhsl(62, 60%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.9%, 0%, 74.7%, 33.3%)
CIE-LABlab(67.22, -17.04, 60.37)
CIE-LCHlch(67.22, 62.73, 105.76°)
OKLaboklab(71.16% -0.0532 0.1328)
OKLCHoklch(71.16% 0.143 111.8)
XYZxyz(30.3288, 36.9240, 7.8144)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA2B #302BAA
analogous
#AA702B #A5AA2B #66AA2B
triadic
#A5AA2B #2BA5AA #AA2BA5
tetradic
#A5AA2B #2BAA70 #302BAA #AA2B66
square
#A5AA2B #2BAA70 #302BAA #AA2B66
split-complementary
#A5AA2B #2B66AA #702BAA
monochromatic
#464812 #76791F #A5AA2B #CACF43 #D8DC74

Accessibility & contrast

On white

2.50
#A5AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#A5AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA2B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA2B#FFFFFF#000000##000000
##A5AA2B1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20F
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa2b;
/* rgb */ color: rgb(165, 170, 43);
/* oklch */ color: oklch(71.2% 0.143 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36e',
    500: '#a5aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa2b;
$custom-light: #c3c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa2b",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 62.362,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71157,
    "c": 0.14308,
    "h": 111.8
  },
  "luminance": 0.36923
}

Semantic roles & 50–950 ramp

primary
#A5AA2B
secondary
#716EC3
accent
#45E34B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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