#A5AA37#A5AA37

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

Color values

HEX#A5AA37
RGBrgb(165, 170, 55)
HSLhsl(63, 51%, 44%)
HSVhsv(63, 68%, 67%)
CMYKcmyk(2.9%, 0%, 67.6%, 33.3%)
CIE-LABlab(67.30, -16.41, 56.01)
CIE-LCHlch(67.30, 58.37, 106.33°)
OKLaboklab(71.24% -0.0503 0.1257)
OKLCHoklch(71.24% 0.135 111.8)
XYZxyz(30.5823, 37.0253, 9.1493)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA37 #3C37AA
analogous
#AA7637 #A5AA37 #6CAA37
triadic
#A5AA37 #37A5AA #AA37A5
tetradic
#A5AA37 #37AA76 #3C37AA #AA376C
square
#A5AA37 #37AA76 #3C37AA #AA376C
split-complementary
#A5AA37 #376CAA #7637AA
monochromatic
#4B4E19 #787C28 #A5AA37 #C3C856 #D4D784

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AA37#FFFFFF#000000##000000
##A5AA371.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)
#B7A226
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa37;
/* rgb */ color: rgb(165, 170, 55);
/* oklch */ color: oklch(71.2% 0.135 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c375',
    500: '#a5aa37',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa37;
$custom-light: #c3c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa37",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 62.609,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.13541,
    "h": 111.8
  },
  "luminance": 0.37025
}

Semantic roles & 50–950 ramp

primary
#A5AA37
secondary
#7F7CC1
accent
#4DDB53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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