#A2A71C#A2A71C

#A2A71C is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.148 H 111.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A2A71C
RGBrgb(162, 167, 28)
HSLhsl(62, 71%, 38%)
HSVhsv(62, 83%, 65%)
CMYKcmyk(3%, 0%, 83.2%, 34.5%)
CIE-LABlab(66.06, -17.38, 63.69)
CIE-LCHlch(66.06, 66.02, 105.26°)
OKLaboklab(70.15% -0.0552 0.1373)
OKLCHoklch(70.15% 0.148 111.9)
XYZxyz(28.9297, 35.4034, 6.4080)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A71C #211CA7
analogous
#A7661C #A2A71C #5CA71C
triadic
#A2A71C #1CA2A7 #A71CA2
tetradic
#A2A71C #1CA766 #211CA7 #A71C5C
square
#A2A71C #1CA766 #211CA7 #A71C5C
split-complementary
#A2A71C #1C5CA7 #661CA7
monochromatic
#3C3E0A #6F7313 #A2A71C #D4DB26 #DEE35A

Accessibility & contrast

On white

2.60
#A2A71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A2A71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A71C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A71C#FFFFFF#000000##000000
##A2A71C1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#AE9C8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a71c;
/* rgb */ color: rgb(162, 167, 28);
/* oklch */ color: oklch(70.1% 0.148 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c068',
    500: '#a2a71c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a71c;
$custom-light: #c1c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a71c",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 62.158,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.70148,
    "c": 0.14799,
    "h": 111.9
  },
  "luminance": 0.35403
}

Semantic roles & 50–950 ramp

primary
#A2A71C
secondary
#5C58C7
accent
#3AEE40
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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