#A2A534#A2A534

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

Color values

HEX#A2A534
RGBrgb(162, 165, 52)
HSLhsl(62, 52%, 43%)
HSVhsv(62, 68%, 65%)
CMYKcmyk(1.8%, 0%, 68.5%, 35.3%)
CIE-LABlab(65.62, -15.31, 55.43)
CIE-LCHlch(65.62, 57.51, 105.44°)
OKLaboklab(69.84% -0.0473 0.1241)
OKLCHoklch(69.84% 0.133 110.9)
XYZxyz(28.9762, 34.8403, 8.4466)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A534 #3734A5
analogous
#A57034 #A2A534 #69A534
triadic
#A2A534 #34A2A5 #A534A2
tetradic
#A2A534 #34A570 #3734A5 #A53469
square
#A2A534 #34A570 #3734A5 #A53469
split-complementary
#A2A534 #3469A5 #7034A5
monochromatic
#474817 #747625 #A2A534 #C4C74F #D4D67D

Accessibility & contrast

On white

2.64
#A2A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A534#FFFFFF#000000##000000
##A2A5341.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a534;
/* rgb */ color: rgb(162, 165, 52);
/* oklch */ color: oklch(69.8% 0.133 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf72',
    500: '#a2a534',
    950: '#000000',
  },
}
SCSS
$custom: #a2a534;
$custom-light: #c1bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a534",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 61.593,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69839,
    "c": 0.13281,
    "h": 110.9
  },
  "luminance": 0.3484
}

Semantic roles & 50–950 ramp

primary
#A2A534
secondary
#7876BF
accent
#4CDC50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A534

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

Preview Lab → · Contrast checker → · Palette generator →

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