#A2A751#A2A751

#A2A751 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.110 H 111.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#A2A751
RGBrgb(162, 167, 81)
HSLhsl(63, 35%, 49%)
HSVhsv(63, 51%, 65%)
CMYKcmyk(3%, 0%, 51.5%, 34.5%)
CIE-LABlab(66.45, -14.20, 43.37)
CIE-LCHlch(66.45, 45.63, 108.13°)
OKLaboklab(70.59% -0.0411 0.1022)
OKLCHoklch(70.59% 0.11 111.9)
XYZxyz(30.2048, 35.9135, 13.1238)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A751 #5651A7
analogous
#A78151 #A2A751 #77A751
triadic
#A2A751 #51A2A7 #A751A2
tetradic
#A2A751 #51A781 #5651A7 #A75177
square
#A2A751 #51A781 #5651A7 #A75177
split-complementary
#A2A751 #5177A7 #8151A7
monochromatic
#525529 #7A7E3D #A2A751 #B9BD78 #CFD1A1

Accessibility & contrast

On white

2.57
#A2A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#A2A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A751
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A751#FFFFFF#000000##000000
##A2A7511.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A049
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#AB9E93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a751;
/* rgb */ color: rgb(162, 167, 81);
/* oklch */ color: oklch(70.6% 0.110 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfc184',
    500: '#a2a751',
    950: '#000000',
  },
}
SCSS
$custom: #a2a751;
$custom-light: #bfc184;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a751",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 63.488,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70587,
    "c": 0.11018,
    "h": 111.9
  },
  "luminance": 0.35913
}

Semantic roles & 50–950 ramp

primary
#A2A751
secondary
#9895BF
accent
#5DCB63
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2A751

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

Preview Lab → · Contrast checker → · Palette generator →

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