#A2A045#A2A045

#A2A045 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.114 H 107.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A2A045
RGBrgb(162, 160, 69)
HSLhsl(59, 40%, 45%)
HSVhsv(59, 57%, 64%)
CMYKcmyk(0%, 1.2%, 57.4%, 36.5%)
CIE-LABlab(64.37, -11.56, 46.72)
CIE-LCHlch(64.37, 48.13, 103.90°)
OKLaboklab(68.88% -0.0349 0.1082)
OKLCHoklch(68.88% 0.114 107.9)
XYZxyz(28.5461, 33.2535, 10.5439)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A045 #4547A2
analogous
#A27245 #A2A045 #75A245
triadic
#A2A045 #45A2A0 #A045A2
tetradic
#A2A045 #45A272 #4547A2 #A24575
square
#A2A045 #45A272 #4547A2 #A24575
split-complementary
#A2A045 #4575A2 #7245A2
monochromatic
#4C4B20 #777633 #A2A045 #BEBC66 #D0CF91

Accessibility & contrast

On white

2.74
#A2A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A2A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A045
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A045#FFFFFF#000000##000000
##A2A0451.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#AE9E4A
Tritanopia (blue-blind)
#AD978C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a045;
/* rgb */ color: rgb(162, 160, 69);
/* oklch */ color: oklch(68.9% 0.114 107.9);
Tailwind
colors: {
  custom: {
    50: '#c0bb7c',
    500: '#a2a045',
    950: '#000000',
  },
}
SCSS
$custom: #a2a045;
$custom-light: #c0bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a045",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 58.71,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68881,
    "c": 0.11364,
    "h": 107.9
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#A2A045
secondary
#8788BC
accent
#5AD058
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #A2A045

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

Preview Lab → · Contrast checker → · Palette generator →

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