#A1A52D#A1A52D

#A1A52D is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.138 H 111.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A1A52D
RGBrgb(161, 165, 45)
HSLhsl(62, 57%, 41%)
HSVhsv(62, 73%, 65%)
CMYKcmyk(2.4%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.50, -16.12, 57.92)
CIE-LCHlch(65.50, 60.12, 105.55°)
OKLaboklab(69.7% -0.0502 0.1281)
OKLCHoklch(69.7% 0.138 111.4)
XYZxyz(28.6277, 34.6775, 7.6675)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A52D #312DA5
analogous
#A56D2D #A1A52D #65A52D
triadic
#A1A52D #2DA1A5 #A52DA1
tetradic
#A1A52D #2DA56D #312DA5 #A52D65
square
#A1A52D #2DA56D #312DA5 #A52D65
split-complementary
#A1A52D #2D65A5 #6D2DA5
monochromatic
#434513 #727520 #A1A52D #C7CC43 #D6D973

Accessibility & contrast

On white

2.65
#A1A52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A1A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A52D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A52D#FFFFFF#000000##000000
##A1A52D1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D16
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#AC9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a1a52d;
/* rgb */ color: rgb(161, 165, 45);
/* oklch */ color: oklch(69.7% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#c0bf6f',
    500: '#a1a52d',
    950: '#000000',
  },
}
SCSS
$custom: #a1a52d;
$custom-light: #c0bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a52d",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 62,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69702,
    "c": 0.13764,
    "h": 111.4
  },
  "luminance": 0.34677
}

Semantic roles & 50–950 ramp

primary
#A1A52D
secondary
#706DC1
accent
#47E04C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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