#A2A12C#A2A12C

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

Color values

HEX#A2A12C
RGBrgb(162, 161, 44)
HSLhsl(59, 57%, 40%)
HSVhsv(59, 73%, 64%)
CMYKcmyk(0%, 0.6%, 72.8%, 36.5%)
CIE-LABlab(64.45, -13.66, 57.30)
CIE-LCHlch(64.45, 58.91, 103.41°)
OKLaboklab(68.88% -0.0435 0.1266)
OKLCHoklch(68.88% 0.134 109)
XYZxyz(28.1008, 33.3538, 7.3401)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A12C #2C2DA2
analogous
#A2662C #A2A12C #68A22C
triadic
#A2A12C #2CA2A1 #A12CA2
tetradic
#A2A12C #2CA266 #2C2DA2 #A22C68
square
#A2A12C #2CA266 #2C2DA2 #A22C68
split-complementary
#A2A12C #2C68A2 #662CA2
monochromatic
#424112 #72711F #A2A12C #CBCA40 #D8D770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A12C#FFFFFF#000000##000000
##A2A12C1.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)
#AE9A16
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a12c;
/* rgb */ color: rgb(162, 161, 44);
/* oklch */ color: oklch(68.9% 0.134 109.0);
Tailwind
colors: {
  custom: {
    50: '#c1bc6e',
    500: '#a2a12c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a12c;
$custom-light: #c1bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a12c",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 59.492,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68881,
    "c": 0.13389,
    "h": 109
  },
  "luminance": 0.33353
}

Semantic roles & 50–950 ramp

primary
#A2A12C
secondary
#6A6BBF
accent
#49E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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