#A2AA26#A2AA26

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

Color values

HEX#A2AA26
RGBrgb(162, 170, 38)
HSLhsl(64, 63%, 41%)
HSVhsv(64, 78%, 67%)
CMYKcmyk(4.7%, 0%, 77.6%, 33.3%)
CIE-LABlab(66.95, -18.55, 61.66)
CIE-LCHlch(66.95, 64.39, 106.74°)
OKLaboklab(70.88% -0.0576 0.1348)
OKLCHoklch(70.88% 0.147 113.2)
XYZxyz(29.6258, 36.5714, 7.3317)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA26 #2E26AA
analogous
#AA7026 #A2AA26 #60AA26
triadic
#A2AA26 #26A2AA #AA26A2
tetradic
#A2AA26 #26AA70 #2E26AA #AA2660
square
#A2AA26 #26AA70 #2E26AA #AA2660
split-complementary
#A2AA26 #2660AA #7026AA
monochromatic
#434610 #72781B #A2AA26 #CAD33A #D7DE6C

Accessibility & contrast

On white

2.53
#A2AA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A2AA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA26
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA26#FFFFFF#000000##000000
##A2AA261.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#AD9F92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa26;
/* rgb */ color: rgb(162, 170, 38);
/* oklch */ color: oklch(70.9% 0.147 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36c',
    500: '#a2aa26',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa26;
$custom-light: #c1c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa26",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 63.636,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70877,
    "c": 0.14658,
    "h": 113.2
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#A2AA26
secondary
#6D67C5
accent
#41E64B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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