#A2A028#A2A028

#A2A028 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.135 H 108.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A2A028
RGBrgb(162, 160, 40)
HSLhsl(59, 60%, 40%)
HSVhsv(59, 75%, 64%)
CMYKcmyk(0%, 1.2%, 75.3%, 36.5%)
CIE-LABlab(64.14, -13.32, 58.42)
CIE-LCHlch(64.14, 59.92, 102.85°)
OKLaboklab(68.63% -0.0429 0.1283)
OKLCHoklch(68.63% 0.135 108.5)
XYZxyz(27.8552, 32.9771, 6.9050)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A028 #282AA2
analogous
#A26328 #A2A028 #67A228
triadic
#A2A028 #28A2A0 #A028A2
tetradic
#A2A028 #28A263 #282AA2 #A22867
square
#A2A028 #28A263 #282AA2 #A22867
split-complementary
#A2A028 #2867A2 #6328A2
monochromatic
#403F10 #71701C #A2A028 #CECC39 #DAD86A

Accessibility & contrast

On white

2.76
#A2A028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A2A028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A028
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A028#FFFFFF#000000##000000
##A2A0281.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990D
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a028;
/* rgb */ color: rgb(162, 160, 40);
/* oklch */ color: oklch(68.6% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#c1bb6c',
    500: '#a2a028',
    950: '#000000',
  },
}
SCSS
$custom: #a2a028;
$custom-light: #c1bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a028",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 59.016,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.13525,
    "h": 108.5
  },
  "luminance": 0.32976
}

Semantic roles & 50–950 ramp

primary
#A2A028
secondary
#6567C1
accent
#47E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A2A028

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

Preview Lab → · Contrast checker → · Palette generator →

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