#A1A42D#A1A42D

#A1A42D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.137 H 110.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A1A42D
RGBrgb(161, 164, 45)
HSLhsl(62, 57%, 41%)
HSVhsv(62, 73%, 64%)
CMYKcmyk(1.8%, 0%, 72.6%, 35.7%)
CIE-LABlab(65.21, -15.60, 57.65)
CIE-LCHlch(65.21, 59.72, 105.15°)
OKLaboklab(69.48% -0.0488 0.1276)
OKLCHoklch(69.48% 0.137 110.9)
XYZxyz(28.4480, 34.3182, 7.6076)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A42D #302DA4
analogous
#A46B2D #A1A42D #65A42D
triadic
#A1A42D #2DA1A4 #A42DA1
tetradic
#A1A42D #2DA46B #302DA4 #A42D65
square
#A1A42D #2DA46B #302DA4 #A42D65
split-complementary
#A1A42D #2D65A4 #6B2DA4
monochromatic
#434413 #727420 #A1A42D #C8CB43 #D6D973

Accessibility & contrast

On white

2.67
#A1A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A1A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A42D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A42D#FFFFFF#000000##000000
##A1A42D1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D17
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#AC9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a42d;
/* rgb */ color: rgb(161, 164, 45);
/* oklch */ color: oklch(69.5% 0.137 110.9);
Tailwind
colors: {
  custom: {
    50: '#c0be6f',
    500: '#a1a42d',
    950: '#000000',
  },
}
SCSS
$custom: #a1a42d;
$custom-light: #c0be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a42d",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 61.513,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.13659,
    "h": 110.9
  },
  "luminance": 0.34317
}

Semantic roles & 50–950 ramp

primary
#A1A42D
secondary
#6F6DC0
accent
#48E04B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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