#A2A255#A2A255

#A2A255 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.100 H 108.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A2A255
RGBrgb(162, 162, 85)
HSLhsl(60, 31%, 48%)
HSVhsv(60, 48%, 64%)
CMYKcmyk(0%, 0%, 47.5%, 36.5%)
CIE-LABlab(65.10, -11.21, 39.77)
CIE-LCHlch(65.10, 41.32, 105.74°)
OKLaboklab(69.53% -0.0321 0.0947)
OKLCHoklch(69.53% 0.1 108.7)
XYZxyz(29.4609, 34.1786, 13.6378)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A255 #5555A2
analogous
#A27B55 #A2A255 #7BA255
triadic
#A2A255 #55A2A2 #A255A2
tetradic
#A2A255 #55A27B #5555A2 #A2557B
square
#A2A255 #55A27B #5555A2 #A2557B
split-complementary
#A2A255 #557BA2 #7B55A2
monochromatic
#52522B #7A7A40 #A2A255 #BABA7B #CFCFA3

Accessibility & contrast

On white

2.68
#A2A255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A2A255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A255
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A255#FFFFFF#000000##000000
##A2A2551.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4E
Deuteranopia (green-blind)
#AE9F59
Tritanopia (blue-blind)
#AB9A90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a255;
/* rgb */ color: rgb(162, 162, 85);
/* oklch */ color: oklch(69.5% 0.100 108.7);
Tailwind
colors: {
  custom: {
    50: '#bfbd87',
    500: '#a2a255',
    950: '#000000',
  },
}
SCSS
$custom: #a2a255;
$custom-light: #bfbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a255",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.10002,
    "h": 108.7
  },
  "luminance": 0.34178
}

Semantic roles & 50–950 ramp

primary
#A2A255
secondary
#9797BC
accent
#60C760
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A255

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

Preview Lab → · Contrast checker → · Palette generator →

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