#A2A12F#A2A12F

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

Color values

HEX#A2A12F
RGBrgb(162, 161, 47)
HSLhsl(59, 55%, 41%)
HSVhsv(59, 71%, 64%)
CMYKcmyk(0%, 0.6%, 71%, 36.5%)
CIE-LABlab(64.47, -13.51, 56.21)
CIE-LCHlch(64.47, 57.81, 103.51°)
OKLaboklab(68.9% -0.0428 0.1249)
OKLCHoklch(68.9% 0.132 108.9)
XYZxyz(28.1593, 33.3772, 7.6479)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A12F #2F30A2
analogous
#A2672F #A2A12F #69A22F
triadic
#A2A12F #2FA2A1 #A12FA2
tetradic
#A2A12F #2FA267 #2F30A2 #A22F69
square
#A2A12F #2FA267 #2F30A2 #A22F69
split-complementary
#A2A12F #2F69A2 #672FA2
monochromatic
#434313 #737221 #A2A12F #C9C845 #D7D675

Accessibility & contrast

On white

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

On black

7.68
#A2A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A12F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A12F#FFFFFF#000000##000000
##A2A12F1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a12f;
/* rgb */ color: rgb(162, 161, 47);
/* oklch */ color: oklch(68.9% 0.132 108.9);
Tailwind
colors: {
  custom: {
    50: '#c1bc6f',
    500: '#a2a12f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a12f;
$custom-light: #c1bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a12f",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 59.478,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68902,
    "c": 0.132,
    "h": 108.9
  },
  "luminance": 0.33376
}

Semantic roles & 50–950 ramp

primary
#A2A12F
secondary
#6E6FBF
accent
#4BDE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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