#A5AA2D#A5AA2D

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

Color values

HEX#A5AA2D
RGBrgb(165, 170, 45)
HSLhsl(62, 58%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.9%, 0%, 73.5%, 33.3%)
CIE-LABlab(67.23, -16.94, 59.69)
CIE-LCHlch(67.23, 62.05, 105.85°)
OKLaboklab(71.17% -0.0527 0.1318)
OKLCHoklch(71.17% 0.142 111.8)
XYZxyz(30.3664, 36.9390, 8.0124)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA2D #322DAA
analogous
#AA712D #A5AA2D #67AA2D
triadic
#A5AA2D #2DA5AA #AA2DA5
tetradic
#A5AA2D #2DAA71 #322DAA #AA2D67
square
#A5AA2D #2DAA71 #322DAA #AA2D67
split-complementary
#A5AA2D #2D67AA #712DAA
monochromatic
#474913 #767A20 #A5AA2D #C9CE46 #D7DB77

Accessibility & contrast

On white

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

On black

8.39
#A5AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA2D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA2D#FFFFFF#000000##000000
##A5AA2D1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#B09F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa2d;
/* rgb */ color: rgb(165, 170, 45);
/* oklch */ color: oklch(71.2% 0.142 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36f',
    500: '#a5aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa2d;
$custom-light: #c3c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa2d",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 62.4,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7117,
    "c": 0.14191,
    "h": 111.8
  },
  "luminance": 0.36938
}

Semantic roles & 50–950 ramp

primary
#A5AA2D
secondary
#7370C3
accent
#46E14D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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