#A2A52D#A2A52D

#A2A52D 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#A2A52D
RGBrgb(162, 165, 45)
HSLhsl(62, 57%, 41%)
HSVhsv(62, 73%, 65%)
CMYKcmyk(1.8%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.58, -15.68, 58.03)
CIE-LCHlch(65.58, 60.11, 105.12°)
OKLaboklab(69.79% -0.0491 0.1283)
OKLCHoklch(69.79% 0.137 110.9)
XYZxyz(28.8301, 34.7819, 7.6770)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A52D #302DA5
analogous
#A56C2D #A2A52D #66A52D
triadic
#A2A52D #2DA2A5 #A52DA2
tetradic
#A2A52D #2DA56C #302DA5 #A52D66
square
#A2A52D #2DA56C #302DA5 #A52D66
split-complementary
#A2A52D #2D66A5 #6C2DA5
monochromatic
#444513 #737520 #A2A52D #C8CC43 #D6D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A52D#FFFFFF#000000##000000
##A2A52D1.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)
#B29E16
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a52d;
/* rgb */ color: rgb(162, 165, 45);
/* oklch */ color: oklch(69.8% 0.137 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf6f',
    500: '#a2a52d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a52d;
$custom-light: #c1bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a52d",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 61.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.1374,
    "h": 110.9
  },
  "luminance": 0.34781
}

Semantic roles & 50–950 ramp

primary
#A2A52D
secondary
#6F6DC1
accent
#47E04B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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