#A2AA2E#A2AA2E

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

Color values

HEX#A2AA2E
RGBrgb(162, 170, 46)
HSLhsl(64, 57%, 42%)
HSVhsv(64, 73%, 67%)
CMYKcmyk(4.7%, 0%, 72.9%, 33.3%)
CIE-LABlab(67.00, -18.19, 59.03)
CIE-LCHlch(67.00, 61.77, 107.13°)
OKLaboklab(70.93% -0.056 0.1306)
OKLCHoklch(70.93% 0.142 113.2)
XYZxyz(29.7691, 36.6287, 8.0861)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA2E #362EAA
analogous
#AA742E #A2AA2E #64AA2E
triadic
#A2AA2E #2EA2AA #AA2EA2
tetradic
#A2AA2E #2EAA74 #362EAA #AA2E64
square
#A2AA2E #2EAA74 #362EAA #AA2E64
split-complementary
#A2AA2E #2E64AA #742EAA
monochromatic
#464A14 #747A21 #A2AA2E #C5CD48 #D4DA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA2E#FFFFFF#000000##000000
##A2AA2E1.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)
#B7A216
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa2e;
/* rgb */ color: rgb(162, 170, 46);
/* oklch */ color: oklch(70.9% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c370',
    500: '#a2aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa2e;
$custom-light: #c1c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa2e",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 63.871,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.14212,
    "h": 113.2
  },
  "luminance": 0.36628
}

Semantic roles & 50–950 ramp

primary
#A2AA2E
secondary
#7771C3
accent
#47E151
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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