#A2A245#A2A245

#A2A245 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.116 H 109.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A2A245
RGBrgb(162, 162, 69)
HSLhsl(60, 40%, 45%)
HSVhsv(60, 57%, 64%)
CMYKcmyk(0%, 0%, 57.4%, 36.5%)
CIE-LABlab(64.92, -12.61, 47.35)
CIE-LCHlch(64.92, 49.00, 104.92°)
OKLaboklab(69.33% -0.0379 0.1095)
OKLCHoklch(69.33% 0.116 109.1)
XYZxyz(28.8956, 33.9525, 10.6604)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A245 #4545A2
analogous
#A27345 #A2A245 #73A245
triadic
#A2A245 #45A2A2 #A245A2
tetradic
#A2A245 #45A273 #4545A2 #A24573
square
#A2A245 #45A273 #4545A2 #A24573
split-complementary
#A2A245 #4573A2 #7345A2
monochromatic
#4C4C20 #777733 #A2A245 #BEBE66 #D0D091

Accessibility & contrast

On white

2.70
#A2A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A2A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A245
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A245#FFFFFF#000000##000000
##A2A2451.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3B
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#AD998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a245;
/* rgb */ color: rgb(162, 162, 69);
/* oklch */ color: oklch(69.3% 0.116 109.1);
Tailwind
colors: {
  custom: {
    50: '#c0bd7c',
    500: '#a2a245',
    950: '#000000',
  },
}
SCSS
$custom: #a2a245;
$custom-light: #c0bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a245",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.11585,
    "h": 109.1
  },
  "luminance": 0.33952
}

Semantic roles & 50–950 ramp

primary
#A2A245
secondary
#8787BC
accent
#58D058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A245

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

Preview Lab → · Contrast checker → · Palette generator →

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