#A2A535#A2A535

#A2A535 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.132 H 110.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A2A535
RGBrgb(162, 165, 53)
HSLhsl(62, 51%, 43%)
HSVhsv(62, 68%, 65%)
CMYKcmyk(1.8%, 0%, 67.9%, 35.3%)
CIE-LABlab(65.63, -15.26, 55.04)
CIE-LCHlch(65.63, 57.12, 105.49°)
OKLaboklab(69.85% -0.0471 0.1234)
OKLCHoklch(69.85% 0.132 110.9)
XYZxyz(28.9989, 34.8494, 8.5665)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A535 #3835A5
analogous
#A57035 #A2A535 #6AA535
triadic
#A2A535 #35A2A5 #A535A2
tetradic
#A2A535 #35A570 #3835A5 #A5356A
square
#A2A535 #35A570 #3835A5 #A5356A
split-complementary
#A2A535 #356AA5 #7035A5
monochromatic
#474817 #757726 #A2A535 #C4C750 #D3D67F

Accessibility & contrast

On white

2.63
#A2A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A2A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A535
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A535#FFFFFF#000000##000000
##A2A5351.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E24
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#AD9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a535;
/* rgb */ color: rgb(162, 165, 53);
/* oklch */ color: oklch(69.8% 0.132 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf73',
    500: '#a2a535',
    950: '#000000',
  },
}
SCSS
$custom: #a2a535;
$custom-light: #c1bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a535",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 61.607,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69847,
    "c": 0.13211,
    "h": 110.9
  },
  "luminance": 0.34849
}

Semantic roles & 50–950 ramp

primary
#A2A535
secondary
#7977BF
accent
#4DDB51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A535

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

Preview Lab → · Contrast checker → · Palette generator →

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