#A2AA55#A2AA55

#A2AA55 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.110 H 113.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A2AA55
RGBrgb(162, 170, 85)
HSLhsl(66, 33%, 50%)
HSVhsv(66, 50%, 67%)
CMYKcmyk(4.7%, 0%, 50%, 33.3%)
CIE-LABlab(67.34, -15.37, 42.45)
CIE-LCHlch(67.34, 45.15, 109.91°)
OKLaboklab(71.31% -0.044 0.1006)
OKLCHoklch(71.31% 0.11 113.6)
XYZxyz(30.9152, 37.0872, 14.1225)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA55 #5D55AA
analogous
#AA8755 #A2AA55 #78AA55
triadic
#A2AA55 #55A2AA #AA55A2
tetradic
#A2AA55 #55AA87 #5D55AA #AA5578
square
#A2AA55 #55AA87 #5D55AA #AA5578
split-complementary
#A2AA55 #5578AA #8755AA
monochromatic
#54582C #7B8141 #A2AA55 #B8BE7E #CFD3A7

Accessibility & contrast

On white

2.49
#A2AA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A2AA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA55
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA55#FFFFFF#000000##000000
##A2AA551.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34D
Deuteranopia (green-blind)
#B4A559
Tritanopia (blue-blind)
#ABA297
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2aa55;
/* rgb */ color: rgb(162, 170, 85);
/* oklch */ color: oklch(71.3% 0.110 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc387',
    500: '#a2aa55',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa55;
$custom-light: #bfc387;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa55",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 85
  },
  "hsl": {
    "h": 65.647,
    "s": 33.333,
    "l": 50
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.10982,
    "h": 113.6
  },
  "luminance": 0.37087
}

Semantic roles & 50–950 ramp

primary
#A2AA55
secondary
#9E9AC0
accent
#5EC968
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2AA55

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

Preview Lab → · Contrast checker → · Palette generator →

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