#A2A225#A2A225

#A2A225 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.139 H 109.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A2A225
RGBrgb(162, 162, 37)
HSLhsl(60, 63%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.69, -14.49, 59.91)
CIE-LCHlch(64.69, 61.64, 103.60°)
OKLaboklab(69.06% -0.0465 0.1309)
OKLCHoklch(69.06% 0.139 109.5)
XYZxyz(28.1556, 33.6565, 6.7631)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A225 #2525A2
analogous
#A26425 #A2A225 #64A225
triadic
#A2A225 #25A2A2 #A225A2
tetradic
#A2A225 #25A264 #2525A2 #A22564
square
#A2A225 #25A264 #2525A2 #A22564
split-complementary
#A2A225 #2564A2 #6425A2
monochromatic
#3E3E0E #70701A #A2A225 #D1D134 #DCDC65

Accessibility & contrast

On white

2.72
#A2A225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A2A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A225
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A225#FFFFFF#000000##000000
##A2A2251.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#AE978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a225;
/* rgb */ color: rgb(162, 162, 37);
/* oklch */ color: oklch(69.1% 0.139 109.5);
Tailwind
colors: {
  custom: {
    50: '#c1bd6b',
    500: '#a2a225',
    950: '#000000',
  },
}
SCSS
$custom: #a2a225;
$custom-light: #c1bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a225",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.13886,
    "h": 109.5
  },
  "luminance": 0.33656
}

Semantic roles & 50–950 ramp

primary
#A2A225
secondary
#6161C2
accent
#42E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A225

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

Preview Lab → · Contrast checker → · Palette generator →

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