#A5AA34#A5AA34

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

Color values

HEX#A5AA34
RGBrgb(165, 170, 52)
HSLhsl(63, 53%, 44%)
HSVhsv(63, 69%, 67%)
CMYKcmyk(2.9%, 0%, 69.4%, 33.3%)
CIE-LABlab(67.28, -16.58, 57.17)
CIE-LCHlch(67.28, 59.52, 106.18°)
OKLaboklab(71.22% -0.0511 0.1277)
OKLCHoklch(71.22% 0.137 111.8)
XYZxyz(30.5126, 36.9975, 8.7820)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA34 #3934AA
analogous
#AA7434 #A5AA34 #6AAA34
triadic
#A5AA34 #34A5AA #AA34A5
tetradic
#A5AA34 #34AA74 #3934AA #AA346A
square
#A5AA34 #34AA74 #3934AA #AA346A
split-complementary
#A5AA34 #346AAA #7434AA
monochromatic
#4A4C17 #787B26 #A5AA34 #C5CA51 #D4D880

Accessibility & contrast

On white

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

On black

8.40
#A5AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA34
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA34#FFFFFF#000000##000000
##A5AA341.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A221
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa34;
/* rgb */ color: rgb(165, 170, 52);
/* oklch */ color: oklch(71.2% 0.137 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c373',
    500: '#a5aa34',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa34;
$custom-light: #c3c373;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa34",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 62.542,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.13749,
    "h": 111.8
  },
  "luminance": 0.36997
}

Semantic roles & 50–950 ramp

primary
#A5AA34
secondary
#7B78C1
accent
#4BDD51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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