#A2A451#A2A451

#A2A451 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.107 H 110.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A2A451
RGBrgb(162, 164, 81)
HSLhsl(61, 34%, 48%)
HSVhsv(61, 51%, 64%)
CMYKcmyk(1.2%, 0%, 50.6%, 35.7%)
CIE-LABlab(65.61, -12.64, 42.38)
CIE-LCHlch(65.61, 44.22, 106.60°)
OKLaboklab(69.92% -0.0366 0.1001)
OKLCHoklch(69.92% 0.107 110.1)
XYZxyz(29.6616, 34.8270, 12.9428)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A451 #5351A4
analogous
#A47C51 #A2A451 #78A451
triadic
#A2A451 #51A2A4 #A451A2
tetradic
#A2A451 #51A47C #5351A4 #A45178
square
#A2A451 #51A47C #5351A4 #A45178
split-complementary
#A2A451 #5178A4 #7C51A4
monochromatic
#515229 #7A7B3D #A2A451 #BABC77 #CFD0A0

Accessibility & contrast

On white

2.64
#A2A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A2A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A451
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A451#FFFFFF#000000##000000
##A2A4511.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#B0A155
Tritanopia (blue-blind)
#AC9B91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a451;
/* rgb */ color: rgb(162, 164, 81);
/* oklch */ color: oklch(69.9% 0.107 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbe84',
    500: '#a2a451',
    950: '#000000',
  },
}
SCSS
$custom: #a2a451;
$custom-light: #bfbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a451",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 61.446,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.10657,
    "h": 110.1
  },
  "luminance": 0.34826
}

Semantic roles & 50–950 ramp

primary
#A2A451
secondary
#9594BD
accent
#5ECA60
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A451

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

Preview Lab → · Contrast checker → · Palette generator →

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