#A2A536#A2A536

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

Color values

HEX#A2A536
RGBrgb(162, 165, 54)
HSLhsl(62, 51%, 43%)
HSVhsv(62, 67%, 65%)
CMYKcmyk(1.8%, 0%, 67.3%, 35.3%)
CIE-LABlab(65.64, -15.20, 54.65)
CIE-LCHlch(65.64, 56.72, 105.54°)
OKLaboklab(69.86% -0.0468 0.1228)
OKLCHoklch(69.86% 0.131 110.9)
XYZxyz(29.0222, 34.8587, 8.6889)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A536 #3936A5
analogous
#A57136 #A2A536 #6AA536
triadic
#A2A536 #36A2A5 #A536A2
tetradic
#A2A536 #36A571 #3936A5 #A5366A
square
#A2A536 #36A571 #3936A5 #A5366A
split-complementary
#A2A536 #366AA5 #7136A5
monochromatic
#474918 #757727 #A2A536 #C3C652 #D3D580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A536#FFFFFF#000000##000000
##A2A5361.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)
#B29E26
Deuteranopia (green-blind)
#B3A13E
Tritanopia (blue-blind)
#AD9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a536;
/* rgb */ color: rgb(162, 165, 54);
/* oklch */ color: oklch(69.9% 0.131 110.9);
Tailwind
colors: {
  custom: {
    50: '#c0bf73',
    500: '#a2a536',
    950: '#000000',
  },
}
SCSS
$custom: #a2a536;
$custom-light: #c0bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a536",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 61.622,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69855,
    "c": 0.1314,
    "h": 110.9
  },
  "luminance": 0.34858
}

Semantic roles & 50–950 ramp

primary
#A2A536
secondary
#7A78BF
accent
#4EDA51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A536

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

Preview Lab → · Contrast checker → · Palette generator →

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