#A2A12A#A2A12A

#A2A12A is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.135 H 109.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A2A12A
RGBrgb(162, 161, 42)
HSLhsl(60, 59%, 40%)
HSVhsv(60, 74%, 64%)
CMYKcmyk(0%, 0.6%, 74.1%, 36.5%)
CIE-LABlab(64.43, -13.75, 58.00)
CIE-LCHlch(64.43, 59.61, 103.34°)
OKLaboklab(68.87% -0.044 0.1277)
OKLCHoklch(68.87% 0.135 109)
XYZxyz(28.0641, 33.3392, 7.1468)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A12A #2A2BA2
analogous
#A2652A #A2A12A #67A22A
triadic
#A2A12A #2AA2A1 #A12AA2
tetradic
#A2A12A #2AA265 #2A2BA2 #A22A67
square
#A2A12A #2AA265 #2A2BA2 #A22A67
split-complementary
#A2A12A #2A67A2 #652AA2
monochromatic
#414011 #71711D #A2A12A #CDCB3D #D9D86D

Accessibility & contrast

On white

2.74
#A2A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A2A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A12A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A12A#FFFFFF#000000##000000
##A2A12A1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A11
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a12a;
/* rgb */ color: rgb(162, 161, 42);
/* oklch */ color: oklch(68.9% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#c1bc6d',
    500: '#a2a12a',
    950: '#000000',
  },
}
SCSS
$custom: #a2a12a;
$custom-light: #c1bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a12a",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 59.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.68868,
    "c": 0.13509,
    "h": 109
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#A2A12A
secondary
#6869C0
accent
#47E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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