#A1A225#A1A225

#A1A225 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.139 H 110.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A1A225
RGBrgb(161, 162, 37)
HSLhsl(60, 63%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0.6%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.61, -14.93, 59.81)
CIE-LCHlch(64.61, 61.64, 104.02°)
OKLaboklab(68.98% -0.0476 0.1307)
OKLCHoklch(68.98% 0.139 110)
XYZxyz(27.9532, 33.5521, 6.7536)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A225 #2625A2
analogous
#A26525 #A1A225 #63A225
triadic
#A1A225 #25A1A2 #A225A1
tetradic
#A1A225 #25A265 #2625A2 #A22563
square
#A1A225 #25A265 #2625A2 #A22563
split-complementary
#A1A225 #2563A2 #6525A2
monochromatic
#3E3E0E #6F701A #A1A225 #CFD134 #DBDC65

Accessibility & contrast

On white

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

On black

7.71
#A1A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A225
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A225#FFFFFF#000000##000000
##A1A2251.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B02
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#AD978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a225;
/* rgb */ color: rgb(161, 162, 37);
/* oklch */ color: oklch(69.0% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c0bd6b',
    500: '#a1a225',
    950: '#000000',
  },
}
SCSS
$custom: #a1a225;
$custom-light: #c0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a225",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 60.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.13909,
    "h": 110
  },
  "luminance": 0.33551
}

Semantic roles & 50–950 ramp

primary
#A1A225
secondary
#6261C2
accent
#42E643
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A225

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

Preview Lab → · Contrast checker → · Palette generator →

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