#A2AA1E#A2AA1E

#A2AA1E is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.8% C 0.150 H 113.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A2AA1E
RGBrgb(162, 170, 30)
HSLhsl(63, 70%, 39%)
HSVhsv(63, 82%, 67%)
CMYKcmyk(4.7%, 0%, 82.4%, 33.3%)
CIE-LABlab(66.92, -18.84, 63.91)
CIE-LCHlch(66.92, 66.63, 106.42°)
OKLaboklab(70.84% -0.0591 0.1382)
OKLCHoklch(70.84% 0.15 113.1)
XYZxyz(29.5104, 36.5253, 6.7236)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA1E #261EAA
analogous
#AA6C1E #A2AA1E #5CAA1E
triadic
#A2AA1E #1EA2AA #AA1EA2
tetradic
#A2AA1E #1EAA6C #261EAA #AA1E5C
square
#A2AA1E #1EAA6C #261EAA #AA1E5C
split-complementary
#A2AA1E #1E5CAA #6C1EAA
monochromatic
#3F420C #707615 #A2AA1E #D0DA2C #DBE360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA1E#FFFFFF#000000##000000
##A2AA1E1.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)
#B7A100
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#AD9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa1e;
/* rgb */ color: rgb(162, 170, 30);
/* oklch */ color: oklch(70.8% 0.150 113.1);
Tailwind
colors: {
  custom: {
    50: '#c1c369',
    500: '#a2aa1e',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa1e;
$custom-light: #c1c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa1e",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 30
  },
  "hsl": {
    "h": 63.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.15025,
    "h": 113.1
  },
  "luminance": 0.36525
}

Semantic roles & 50–950 ramp

primary
#A2AA1E
secondary
#635CC7
accent
#3BED45
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA1E

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

Preview Lab → · Contrast checker → · Palette generator →

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