#A2A530#A2A530

#A2A530 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#A2A530
RGBrgb(162, 165, 48)
HSLhsl(62, 55%, 42%)
HSVhsv(62, 71%, 65%)
CMYKcmyk(1.8%, 0%, 70.9%, 35.3%)
CIE-LABlab(65.60, -15.53, 56.95)
CIE-LCHlch(65.60, 59.03, 105.26°)
OKLaboklab(69.81% -0.0483 0.1266)
OKLCHoklch(69.81% 0.136 110.9)
XYZxyz(28.8899, 34.8058, 7.9921)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A530 #3330A5
analogous
#A56D30 #A2A530 #68A530
triadic
#A2A530 #30A2A5 #A530A2
tetradic
#A2A530 #30A56D #3330A5 #A53068
square
#A2A530 #30A56D #3330A5 #A53068
split-complementary
#A2A530 #3068A5 #6D30A5
monochromatic
#454614 #737622 #A2A530 #C7CA48 #D5D878

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A530#FFFFFF#000000##000000
##A2A5301.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)
#B29E1C
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a530;
/* rgb */ color: rgb(162, 165, 48);
/* oklch */ color: oklch(69.8% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf70',
    500: '#a2a530',
    950: '#000000',
  },
}
SCSS
$custom: #a2a530;
$custom-light: #c1bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a530",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 61.538,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.13551,
    "h": 110.9
  },
  "luminance": 0.34805
}

Semantic roles & 50–950 ramp

primary
#A2A530
secondary
#7371C0
accent
#4ADE4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A530

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

Preview Lab → · Contrast checker → · Palette generator →

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