#A2A52F#A2A52F

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

Color values

HEX#A2A52F
RGBrgb(162, 165, 47)
HSLhsl(62, 56%, 42%)
HSVhsv(62, 72%, 65%)
CMYKcmyk(1.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(65.59, -15.58, 57.31)
CIE-LCHlch(65.59, 59.39, 105.21°)
OKLaboklab(69.8% -0.0486 0.1272)
OKLCHoklch(69.8% 0.136 110.9)
XYZxyz(28.8695, 34.7976, 7.8846)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A52F #322FA5
analogous
#A56D2F #A2A52F #67A52F
triadic
#A2A52F #2FA2A5 #A52FA2
tetradic
#A2A52F #2FA56D #322FA5 #A52F67
square
#A2A52F #2FA56D #322FA5 #A52F67
split-complementary
#A2A52F #2F67A5 #6D2FA5
monochromatic
#444614 #737521 #A2A52F #C7CB47 #D6D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A52F#FFFFFF#000000##000000
##A2A52F1.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)
#B29E1A
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a52f;
/* rgb */ color: rgb(162, 165, 47);
/* oklch */ color: oklch(69.8% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf70',
    500: '#a2a52f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a52f;
$custom-light: #c1bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a52f",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 61.525,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.13616,
    "h": 110.9
  },
  "luminance": 0.34797
}

Semantic roles & 50–950 ramp

primary
#A2A52F
secondary
#7270C0
accent
#49DF4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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