#A2A71D#A2A71D

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

Color values

HEX#A2A71D
RGBrgb(162, 167, 29)
HSLhsl(62, 70%, 38%)
HSVhsv(62, 83%, 65%)
CMYKcmyk(3%, 0%, 82.6%, 34.5%)
CIE-LABlab(66.07, -17.35, 63.44)
CIE-LCHlch(66.07, 65.77, 105.29°)
OKLaboklab(70.15% -0.055 0.137)
OKLCHoklch(70.15% 0.148 111.9)
XYZxyz(28.9418, 35.4083, 6.4721)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A71D #221DA7
analogous
#A7671D #A2A71D #5DA71D
triadic
#A2A71D #1DA2A7 #A71DA2
tetradic
#A2A71D #1DA767 #221DA7 #A71D5D
square
#A2A71D #1DA767 #221DA7 #A71D5D
split-complementary
#A2A71D #1D5DA7 #671DA7
monochromatic
#3D3F0B #6F7314 #A2A71D #D3DA28 #DEE35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A71D#FFFFFF#000000##000000
##A2A71D1.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)
#B5A22B
Tritanopia (blue-blind)
#AE9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a71d;
/* rgb */ color: rgb(162, 167, 29);
/* oklch */ color: oklch(70.2% 0.148 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c068',
    500: '#a2a71d',
    950: '#000000',
  },
}
SCSS
$custom: #a2a71d;
$custom-light: #c1c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a71d",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 62.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70152,
    "c": 0.14759,
    "h": 111.9
  },
  "luminance": 0.35408
}

Semantic roles & 50–950 ramp

primary
#A2A71D
secondary
#5D59C7
accent
#3BED41
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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