#A2A730#A2A730

#A2A730 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.138 H 111.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#A2A730
RGBrgb(162, 167, 48)
HSLhsl(63, 55%, 42%)
HSVhsv(63, 71%, 65%)
CMYKcmyk(3%, 0%, 71.3%, 34.5%)
CIE-LABlab(66.16, -16.56, 57.50)
CIE-LCHlch(66.16, 59.83, 106.07°)
OKLaboklab(70.26% -0.0512 0.1278)
OKLCHoklch(70.26% 0.138 111.8)
XYZxyz(29.2534, 35.5329, 8.1133)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A730 #3530A7
analogous
#A77130 #A2A730 #67A730
triadic
#A2A730 #30A2A7 #A730A2
tetradic
#A2A730 #30A771 #3530A7 #A73067
square
#A2A730 #30A771 #3530A7 #A73067
split-complementary
#A2A730 #3067A7 #7130A7
monochromatic
#464815 #747722 #A2A730 #C5CB49 #D4D879

Accessibility & contrast

On white

2.59
#A2A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#A2A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A730
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A730#FFFFFF#000000##000000
##A2A7301.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a730;
/* rgb */ color: rgb(162, 167, 48);
/* oklch */ color: oklch(70.3% 0.138 111.8);
Tailwind
colors: {
  custom: {
    50: '#c1c070',
    500: '#a2a730',
    950: '#000000',
  },
}
SCSS
$custom: #a2a730;
$custom-light: #c1c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a730",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 62.521,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.13764,
    "h": 111.8
  },
  "luminance": 0.35532
}

Semantic roles & 50–950 ramp

primary
#A2A730
secondary
#7572C1
accent
#49DF4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A730

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

Preview Lab → · Contrast checker → · Palette generator →

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