#A2A125#A2A125

#A2A125 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.138 H 109.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A2A125
RGBrgb(162, 161, 37)
HSLhsl(60, 63%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0%, 0.6%, 77.2%, 36.5%)
CIE-LABlab(64.41, -13.97, 59.66)
CIE-LCHlch(64.41, 61.27, 103.18°)
OKLaboklab(68.84% -0.045 0.1303)
OKLCHoklch(68.84% 0.138 109.1)
XYZxyz(27.9802, 33.3056, 6.7046)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A125 #2526A2
analogous
#A26325 #A2A125 #65A225
triadic
#A2A125 #25A2A1 #A125A2
tetradic
#A2A125 #25A263 #2526A2 #A22565
square
#A2A125 #25A263 #2526A2 #A22565
split-complementary
#A2A125 #2565A2 #6325A2
monochromatic
#3E3E0E #706F1A #A2A125 #D1CF34 #DCDB65

Accessibility & contrast

On white

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

On black

7.66
#A2A125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A125
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A125#FFFFFF#000000##000000
##A2A1251.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A03
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a125;
/* rgb */ color: rgb(162, 161, 37);
/* oklch */ color: oklch(68.8% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#c1bc6a',
    500: '#a2a125',
    950: '#000000',
  },
}
SCSS
$custom: #a2a125;
$custom-light: #c1bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a125",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 59.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68838,
    "c": 0.13787,
    "h": 109.1
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#A2A125
secondary
#6162C2
accent
#43E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A125

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

Preview Lab → · Contrast checker → · Palette generator →

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