#A2A830#A2A830

#A2A830 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.139 H 112.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A2A830
RGBrgb(162, 168, 48)
HSLhsl(63, 56%, 42%)
HSVhsv(63, 71%, 66%)
CMYKcmyk(3.6%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.44, -17.07, 57.77)
CIE-LCHlch(66.44, 60.24, 106.46°)
OKLaboklab(70.49% -0.0526 0.1283)
OKLCHoklch(70.49% 0.139 112.3)
XYZxyz(29.4373, 35.9007, 8.1746)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A830 #3630A8
analogous
#A87230 #A2A830 #66A830
triadic
#A2A830 #30A2A8 #A830A2
tetradic
#A2A830 #30A872 #3630A8 #A83066
square
#A2A830 #30A872 #3630A8 #A83066
split-complementary
#A2A830 #3066A8 #7230A8
monochromatic
#464915 #747822 #A2A830 #C5CB4A #D4D97A

Accessibility & contrast

On white

2.57
#A2A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A2A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A830
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A830#FFFFFF#000000##000000
##A2A8301.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a830;
/* rgb */ color: rgb(162, 168, 48);
/* oklch */ color: oklch(70.5% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c171',
    500: '#a2a830',
    950: '#000000',
  },
}
SCSS
$custom: #a2a830;
$custom-light: #c1c171;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a830",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 63,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.13872,
    "h": 112.3
  },
  "luminance": 0.359
}

Semantic roles & 50–950 ramp

primary
#A2A830
secondary
#7773C1
accent
#49DF50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A830

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

Preview Lab → · Contrast checker → · Palette generator →

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