#A1A125#A1A125

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

Color values

HEX#A1A125
RGBrgb(161, 161, 37)
HSLhsl(60, 63%, 39%)
HSVhsv(60, 77%, 63%)
CMYKcmyk(0%, 0%, 77%, 36.9%)
CIE-LABlab(64.32, -14.41, 59.55)
CIE-LCHlch(64.32, 61.27, 103.60°)
OKLaboklab(68.75% -0.0462 0.1301)
OKLCHoklch(68.75% 0.138 109.5)
XYZxyz(27.7778, 33.2012, 6.6951)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A125 #2525A1
analogous
#A16325 #A1A125 #63A125
triadic
#A1A125 #25A1A1 #A125A1
tetradic
#A1A125 #25A163 #2525A1 #A12563
square
#A1A125 #25A163 #2525A1 #A12563
split-complementary
#A1A125 #2563A1 #6325A1
monochromatic
#3D3D0E #6F6F1A #A1A125 #D0D033 #DCDC65

Accessibility & contrast

On white

2.75
#A1A125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A1A125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A125
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A125#FFFFFF#000000##000000
##A1A1251.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A03
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AD968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a1a125;
/* rgb */ color: rgb(161, 161, 37);
/* oklch */ color: oklch(68.8% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#c0bc6a',
    500: '#a1a125',
    950: '#000000',
  },
}
SCSS
$custom: #a1a125;
$custom-light: #c0bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a125",
  "rgb": {
    "r": 161,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6875,
    "c": 0.13808,
    "h": 109.5
  },
  "luminance": 0.332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1A125

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

Preview Lab → · Contrast checker → · Palette generator →

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