#A5AA33#A5AA33

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

Color values

HEX#A5AA33
RGBrgb(165, 170, 51)
HSLhsl(63, 54%, 43%)
HSVhsv(63, 70%, 67%)
CMYKcmyk(2.9%, 0%, 70%, 33.3%)
CIE-LABlab(67.27, -16.64, 57.54)
CIE-LCHlch(67.27, 59.90, 106.13°)
OKLaboklab(71.21% -0.0513 0.1283)
OKLCHoklch(71.21% 0.138 111.8)
XYZxyz(30.4903, 36.9885, 8.6647)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA33 #3833AA
analogous
#AA7333 #A5AA33 #69AA33
triadic
#A5AA33 #33A5AA #AA33A5
tetradic
#A5AA33 #33AA73 #3833AA #AA3369
square
#A5AA33 #33AA73 #3833AA #AA3369
split-complementary
#A5AA33 #3369AA #7333AA
monochromatic
#4A4C17 #777B25 #A5AA33 #C5CA50 #D5D97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AA33#FFFFFF#000000##000000
##A5AA331.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)
#B7A21F
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#B0A093
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa33;
/* rgb */ color: rgb(165, 170, 51);
/* oklch */ color: oklch(71.2% 0.138 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c372',
    500: '#a5aa33',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa33;
$custom-light: #c3c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa33",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 62.521,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.13816,
    "h": 111.8
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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