#A2A145#A2A145

#A2A145 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.115 H 108.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A2A145
RGBrgb(162, 161, 69)
HSLhsl(59, 40%, 45%)
HSVhsv(59, 57%, 64%)
CMYKcmyk(0%, 0.6%, 57.4%, 36.5%)
CIE-LABlab(64.65, -12.09, 47.03)
CIE-LCHlch(64.65, 48.56, 104.41°)
OKLaboklab(69.1% -0.0364 0.1088)
OKLCHoklch(69.1% 0.115 108.5)
XYZxyz(28.7202, 33.6016, 10.6019)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A145 #4546A2
analogous
#A27245 #A2A145 #74A245
triadic
#A2A145 #45A2A1 #A145A2
tetradic
#A2A145 #45A272 #4546A2 #A24574
square
#A2A145 #45A272 #4546A2 #A24574
split-complementary
#A2A145 #4574A2 #7245A2
monochromatic
#4C4C20 #777633 #A2A145 #BEBD66 #D0D091

Accessibility & contrast

On white

2.72
#A2A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A2A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A145
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A145#FFFFFF#000000##000000
##A2A1451.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3B
Deuteranopia (green-blind)
#AE9E4A
Tritanopia (blue-blind)
#AD988D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a145;
/* rgb */ color: rgb(162, 161, 69);
/* oklch */ color: oklch(69.1% 0.115 108.5);
Tailwind
colors: {
  custom: {
    50: '#c0bc7c',
    500: '#a2a145',
    950: '#000000',
  },
}
SCSS
$custom: #a2a145;
$custom-light: #c0bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a145",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 59.355,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.11474,
    "h": 108.5
  },
  "luminance": 0.33601
}

Semantic roles & 50–950 ramp

primary
#A2A145
secondary
#8788BC
accent
#59D058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A145

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

Preview Lab → · Contrast checker → · Palette generator →

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