#A2A72B#A2A72B

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

Color values

HEX#A2A72B
RGBrgb(162, 167, 43)
HSLhsl(62, 59%, 41%)
HSVhsv(62, 74%, 65%)
CMYKcmyk(3%, 0%, 74.3%, 34.5%)
CIE-LABlab(66.13, -16.81, 59.26)
CIE-LCHlch(66.13, 61.60, 105.83°)
OKLaboklab(70.23% -0.0524 0.1306)
OKLCHoklch(70.23% 0.141 111.9)
XYZxyz(29.1560, 35.4940, 7.6002)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A72B #302BA7
analogous
#A76E2B #A2A72B #64A72B
triadic
#A2A72B #2BA2A7 #A72BA2
tetradic
#A2A72B #2BA76E #302BA7 #A72B64
square
#A2A72B #2BA76E #302BA7 #A72B64
split-complementary
#A2A72B #2B64A7 #6E2BA7
monochromatic
#444612 #73761E #A2A72B #C8CE41 #D6DB72

Accessibility & contrast

On white

2.59
#A2A72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A2A72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A72B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A72B#FFFFFF#000000##000000
##A2A72B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#AD9D8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a72b;
/* rgb */ color: rgb(162, 167, 43);
/* oklch */ color: oklch(70.2% 0.141 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06e',
    500: '#a2a72b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a72b;
$custom-light: #c1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a72b",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 62.419,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70226,
    "c": 0.14069,
    "h": 111.9
  },
  "luminance": 0.35493
}

Semantic roles & 50–950 ramp

primary
#A2A72B
secondary
#6F6CC2
accent
#46E24C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A72B

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

Preview Lab → · Contrast checker → · Palette generator →

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