#A2A02A#A2A02A

#A2A02A is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.134 H 108.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A2A02A
RGBrgb(162, 160, 42)
HSLhsl(59, 59%, 40%)
HSVhsv(59, 74%, 64%)
CMYKcmyk(0%, 1.2%, 74.1%, 36.5%)
CIE-LABlab(64.15, -13.23, 57.74)
CIE-LCHlch(64.15, 59.24, 102.91°)
OKLaboklab(68.64% -0.0425 0.1272)
OKLCHoklch(68.64% 0.134 108.5)
XYZxyz(27.8901, 32.9911, 7.0888)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A02A #2A2CA2
analogous
#A2642A #A2A02A #68A22A
triadic
#A2A02A #2AA2A0 #A02AA2
tetradic
#A2A02A #2AA264 #2A2CA2 #A22A68
square
#A2A02A #2AA264 #2A2CA2 #A22A68
split-complementary
#A2A02A #2A68A2 #642AA2
monochromatic
#414011 #71701D #A2A02A #CDCA3D #D9D76D

Accessibility & contrast

On white

2.76
#A2A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A2A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A02A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A02A#FFFFFF#000000##000000
##A2A02A1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a02a;
/* rgb */ color: rgb(162, 160, 42);
/* oklch */ color: oklch(68.6% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#c1bb6d',
    500: '#a2a02a',
    950: '#000000',
  },
}
SCSS
$custom: #a2a02a;
$custom-light: #c1bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a02a",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 59,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.68644,
    "c": 0.13409,
    "h": 108.5
  },
  "luminance": 0.3299
}

Semantic roles & 50–950 ramp

primary
#A2A02A
secondary
#6869C0
accent
#48E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A2A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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