#A2A527#A2A527

#A2A527 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.141 H 111.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A2A527
RGBrgb(162, 165, 39)
HSLhsl(61, 62%, 40%)
HSVhsv(61, 76%, 65%)
CMYKcmyk(1.8%, 0%, 76.4%, 35.3%)
CIE-LABlab(65.54, -15.96, 60.05)
CIE-LCHlch(65.54, 62.14, 104.88°)
OKLaboklab(69.75% -0.0504 0.1315)
OKLCHoklch(69.75% 0.141 111)
XYZxyz(28.7226, 34.7389, 7.1113)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A527 #2A27A5
analogous
#A56927 #A2A527 #63A527
triadic
#A2A527 #27A2A5 #A527A2
tetradic
#A2A527 #27A569 #2A27A5 #A52763
square
#A2A527 #27A569 #2A27A5 #A52763
split-complementary
#A2A527 #2763A5 #6927A5
monochromatic
#414210 #71741B #A2A527 #CDD039 #D9DC6A

Accessibility & contrast

On white

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

On black

7.95
#A2A527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A527
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A527#FFFFFF#000000##000000
##A2A5271.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#AE9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a527;
/* rgb */ color: rgb(162, 165, 39);
/* oklch */ color: oklch(69.8% 0.141 111.0);
Tailwind
colors: {
  custom: {
    50: '#c1bf6c',
    500: '#a2a527',
    950: '#000000',
  },
}
SCSS
$custom: #a2a527;
$custom-light: #c1bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a527",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 61.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.14084,
    "h": 111
  },
  "luminance": 0.34738
}

Semantic roles & 50–950 ramp

primary
#A2A527
secondary
#6866C2
accent
#43E547
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A527

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

Preview Lab → · Contrast checker → · Palette generator →

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