#A2AA27#A2AA27

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

Color values

HEX#A2AA27
RGBrgb(162, 170, 39)
HSLhsl(64, 63%, 41%)
HSVhsv(64, 77%, 67%)
CMYKcmyk(4.7%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.96, -18.51, 61.35)
CIE-LCHlch(66.96, 64.08, 106.79°)
OKLaboklab(70.88% -0.0575 0.1343)
OKLCHoklch(70.88% 0.146 113.2)
XYZxyz(29.6422, 36.5780, 7.4178)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA27 #2F27AA
analogous
#AA7027 #A2AA27 #60AA27
triadic
#A2AA27 #27A2AA #AA27A2
tetradic
#A2AA27 #27AA70 #2F27AA #AA2760
square
#A2AA27 #27AA70 #2F27AA #AA2760
split-complementary
#A2AA27 #2760AA #7027AA
monochromatic
#434610 #73781C #A2AA27 #C9D23C #D7DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA27#FFFFFF#000000##000000
##A2AA271.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2aa27;
/* rgb */ color: rgb(162, 170, 39);
/* oklch */ color: oklch(70.9% 0.146 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36c',
    500: '#a2aa27',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa27;
$custom-light: #c1c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa27",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 63.664,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70882,
    "c": 0.14607,
    "h": 113.2
  },
  "luminance": 0.36577
}

Semantic roles & 50–950 ramp

primary
#A2AA27
secondary
#6E69C4
accent
#42E64C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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