#A2AA30#A2AA30

#A2AA30 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.141 H 113.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A2AA30
RGBrgb(162, 170, 48)
HSLhsl(64, 56%, 43%)
HSVhsv(64, 72%, 67%)
CMYKcmyk(4.7%, 0%, 71.8%, 33.3%)
CIE-LABlab(67.01, -18.09, 58.32)
CIE-LCHlch(67.01, 61.06, 107.23°)
OKLaboklab(70.94% -0.0555 0.1295)
OKLCHoklch(70.94% 0.141 113.2)
XYZxyz(29.8094, 36.6449, 8.2986)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA30 #3830AA
analogous
#AA7530 #A2AA30 #65AA30
triadic
#A2AA30 #30A2AA #AA30A2
tetradic
#A2AA30 #30AA75 #3830AA #AA3065
square
#A2AA30 #30AA75 #3830AA #AA3065
split-complementary
#A2AA30 #3065AA #7530AA
monochromatic
#474B15 #757A23 #A2AA30 #C4CC4B #D3DA7B

Accessibility & contrast

On white

2.52
#A2AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A2AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA30
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA30#FFFFFF#000000##000000
##A2AA301.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa30;
/* rgb */ color: rgb(162, 170, 48);
/* oklch */ color: oklch(70.9% 0.141 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c371',
    500: '#a2aa30',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa30;
$custom-light: #c1c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa30",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 63.934,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.14089,
    "h": 113.2
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#A2AA30
secondary
#7974C2
accent
#49DF52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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