#A2A52E#A2A52E

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

Color values

HEX#A2A52E
RGBrgb(162, 165, 46)
HSLhsl(62, 56%, 41%)
HSVhsv(62, 72%, 65%)
CMYKcmyk(1.8%, 0%, 72.1%, 35.3%)
CIE-LABlab(65.58, -15.63, 57.67)
CIE-LCHlch(65.58, 59.75, 105.17°)
OKLaboklab(69.8% -0.0488 0.1278)
OKLCHoklch(69.8% 0.137 110.9)
XYZxyz(28.8495, 34.7897, 7.7796)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A52E #312EA5
analogous
#A56D2E #A2A52E #67A52E
triadic
#A2A52E #2EA2A5 #A52EA2
tetradic
#A2A52E #2EA56D #312EA5 #A52E67
square
#A2A52E #2EA56D #312EA5 #A52E67
split-complementary
#A2A52E #2E67A5 #6D2EA5
monochromatic
#444513 #737521 #A2A52E #C8CB45 #D6D875

Accessibility & contrast

On white

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

On black

7.96
#A2A52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A52E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A52E#FFFFFF#000000##000000
##A2A52E1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a52e;
/* rgb */ color: rgb(162, 165, 46);
/* oklch */ color: oklch(69.8% 0.137 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf6f',
    500: '#a2a52e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a52e;
$custom-light: #c1bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a52e",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 61.513,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.13678,
    "h": 110.9
  },
  "luminance": 0.34789
}

Semantic roles & 50–950 ramp

primary
#A2A52E
secondary
#716FC0
accent
#48E04C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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