#A2A331#A2A331

#A2A331 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.133 H 109.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A2A331
RGBrgb(162, 163, 49)
HSLhsl(61, 54%, 42%)
HSVhsv(61, 70%, 64%)
CMYKcmyk(0.6%, 0%, 69.9%, 36.1%)
CIE-LABlab(65.04, -14.44, 56.02)
CIE-LCHlch(65.04, 57.85, 104.46°)
OKLaboklab(69.37% -0.0452 0.1248)
OKLCHoklch(69.37% 0.133 109.9)
XYZxyz(28.5528, 34.0983, 7.9827)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A331 #3231A3
analogous
#A36B31 #A2A331 #69A331
triadic
#A2A331 #31A2A3 #A331A2
tetradic
#A2A331 #31A36B #3231A3 #A33169
square
#A2A331 #31A36B #3231A3 #A33169
split-complementary
#A2A331 #3169A3 #6B31A3
monochromatic
#444515 #737423 #A2A331 #C7C849 #D6D678

Accessibility & contrast

On white

2.69
#A2A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A2A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A331
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A331#FFFFFF#000000##000000
##A2A3311.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a331;
/* rgb */ color: rgb(162, 163, 49);
/* oklch */ color: oklch(69.4% 0.133 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1be71',
    500: '#a2a331',
    950: '#000000',
  },
}
SCSS
$custom: #a2a331;
$custom-light: #c1be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a331",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 60.526,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.13274,
    "h": 109.9
  },
  "luminance": 0.34098
}

Semantic roles & 50–950 ramp

primary
#A2A331
secondary
#7271BF
accent
#4BDD4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A331

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

Preview Lab → · Contrast checker → · Palette generator →

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