#A2AA39#A2AA39

#A2AA39 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.135 H 113.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A2AA39
RGBrgb(162, 170, 57)
HSLhsl(64, 50%, 45%)
HSVhsv(64, 66%, 67%)
CMYKcmyk(4.7%, 0%, 66.5%, 33.3%)
CIE-LABlab(67.07, -17.58, 54.90)
CIE-LCHlch(67.07, 57.65, 107.76°)
OKLaboklab(71.01% -0.0532 0.1238)
OKLCHoklch(71.01% 0.135 113.2)
XYZxyz(30.0144, 36.7269, 9.3780)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA39 #4139AA
analogous
#AA7A39 #A2AA39 #6AAA39
triadic
#A2AA39 #39A2AA #AA39A2
tetradic
#A2AA39 #39AA7A #4139AA #AA396A
square
#A2AA39 #39AA7A #4139AA #AA396A
split-complementary
#A2AA39 #396AAA #7A39AA
monochromatic
#4B4E1A #767C2A #A2AA39 #BFC759 #D1D787

Accessibility & contrast

On white

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

On black

8.35
#A2AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA39
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA39#FFFFFF#000000##000000
##A2AA391.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A229
Deuteranopia (green-blind)
#B6A441
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa39;
/* rgb */ color: rgb(162, 170, 57);
/* oklch */ color: oklch(71.0% 0.135 113.2);
Tailwind
colors: {
  custom: {
    50: '#c0c376',
    500: '#a2aa39',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa39;
$custom-light: #c0c376;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa39",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 64.248,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71008,
    "c": 0.13473,
    "h": 113.2
  },
  "luminance": 0.36726
}

Semantic roles & 50–950 ramp

primary
#A2AA39
secondary
#837EC1
accent
#4ED958
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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