#A2AA2C#A2AA2C

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

Color values

HEX#A2AA2C
RGBrgb(162, 170, 44)
HSLhsl(64, 59%, 42%)
HSVhsv(64, 74%, 67%)
CMYKcmyk(4.7%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.99, -18.29, 59.72)
CIE-LCHlch(66.99, 62.46, 107.03°)
OKLaboklab(70.91% -0.0564 0.1317)
OKLCHoklch(70.91% 0.143 113.2)
XYZxyz(29.7306, 36.6133, 7.8833)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA2C #342CAA
analogous
#AA732C #A2AA2C #63AA2C
triadic
#A2AA2C #2CA2AA #AA2CA2
tetradic
#A2AA2C #2CAA73 #342CAA #AA2C63
square
#A2AA2C #2CAA73 #342CAA #AA2C63
split-complementary
#A2AA2C #2C63AA #732CAA
monochromatic
#454913 #74791F #A2AA2C #C6CF44 #D5DB75

Accessibility & contrast

On white

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

On black

8.32
#A2AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA2C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA2C#FFFFFF#000000##000000
##A2AA2C1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2aa2c;
/* rgb */ color: rgb(162, 170, 44);
/* oklch */ color: oklch(70.9% 0.143 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36f',
    500: '#a2aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa2c;
$custom-light: #c1c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa2c",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 63.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70912,
    "c": 0.14331,
    "h": 113.2
  },
  "luminance": 0.36613
}

Semantic roles & 50–950 ramp

primary
#A2AA2C
secondary
#746FC3
accent
#46E250
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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