#A2A12E#A2A12E

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

Color values

HEX#A2A12E
RGBrgb(162, 161, 46)
HSLhsl(59, 56%, 41%)
HSVhsv(59, 72%, 64%)
CMYKcmyk(0%, 0.6%, 71.6%, 36.5%)
CIE-LABlab(64.46, -13.56, 56.58)
CIE-LCHlch(64.46, 58.18, 103.48°)
OKLaboklab(68.9% -0.043 0.1255)
OKLCHoklch(68.9% 0.133 108.9)
XYZxyz(28.1393, 33.3692, 7.5429)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A12E #2E2FA2
analogous
#A2672E #A2A12E #69A22E
triadic
#A2A12E #2EA2A1 #A12EA2
tetradic
#A2A12E #2EA267 #2E2FA2 #A22E69
square
#A2A12E #2EA267 #2E2FA2 #A22E69
split-complementary
#A2A12E #2E69A2 #672EA2
monochromatic
#434213 #727220 #A2A12E #CAC943 #D7D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A12E#FFFFFF#000000##000000
##A2A12E1.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)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a12e;
/* rgb */ color: rgb(162, 161, 46);
/* oklch */ color: oklch(68.9% 0.133 108.9);
Tailwind
colors: {
  custom: {
    50: '#c1bc6f',
    500: '#a2a12e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a12e;
$custom-light: #c1bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a12e",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 59.483,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.13264,
    "h": 108.9
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#A2A12E
secondary
#6D6EBF
accent
#4ADF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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