#A2A545#A2A545

#A2A545 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.119 H 110.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A2A545
RGBrgb(162, 165, 69)
HSLhsl(62, 41%, 46%)
HSVhsv(62, 58%, 65%)
CMYKcmyk(1.8%, 0%, 58.2%, 35.3%)
CIE-LABlab(65.77, -14.17, 48.28)
CIE-LCHlch(65.77, 50.32, 106.36°)
OKLaboklab(70% -0.0423 0.1115)
OKLCHoklch(70% 0.119 110.8)
XYZxyz(29.4304, 35.0220, 10.8387)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A545 #4845A5
analogous
#A57845 #A2A545 #72A545
triadic
#A2A545 #45A2A5 #A545A2
tetradic
#A2A545 #45A578 #4845A5 #A54572
square
#A2A545 #45A578 #4845A5 #A54572
split-complementary
#A2A545 #4572A5 #7845A5
monochromatic
#4D4F21 #787A33 #A2A545 #BDC068 #D0D293

Accessibility & contrast

On white

2.62
#A2A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A2A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A545
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A545#FFFFFF#000000##000000
##A2A5451.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3B
Deuteranopia (green-blind)
#B2A14B
Tritanopia (blue-blind)
#AC9C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a545;
/* rgb */ color: rgb(162, 165, 69);
/* oklch */ color: oklch(70.0% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#c0bf7c',
    500: '#a2a545',
    950: '#000000',
  },
}
SCSS
$custom: #a2a545;
$custom-light: #c0bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a545",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 61.875,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.11924,
    "h": 110.8
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

primary
#A2A545
secondary
#8A88BD
accent
#57D15B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A545

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

Preview Lab → · Contrast checker → · Palette generator →

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