#A1A71D#A1A71D

#A1A71D is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.1% C 0.148 H 112.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A1A71D
RGBrgb(161, 167, 29)
HSLhsl(63, 70%, 38%)
HSVhsv(63, 83%, 65%)
CMYKcmyk(3.6%, 0%, 82.6%, 34.5%)
CIE-LABlab(65.98, -17.79, 63.34)
CIE-LCHlch(65.98, 65.79, 105.69°)
OKLaboklab(70.07% -0.0562 0.1368)
OKLCHoklch(70.07% 0.148 112.3)
XYZxyz(28.7394, 35.3039, 6.4626)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A71D #231DA7
analogous
#A7681D #A1A71D #5CA71D
triadic
#A1A71D #1DA1A7 #A71DA1
tetradic
#A1A71D #1DA768 #231DA7 #A71D5C
square
#A1A71D #1DA768 #231DA7 #A71D5C
split-complementary
#A1A71D #1D5CA7 #681DA7
monochromatic
#3C3F0B #6F7314 #A1A71D #D2DA28 #DDE35C

Accessibility & contrast

On white

2.61
#A1A71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#A1A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A71D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A71D#FFFFFF#000000##000000
##A1A71D1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a71d;
/* rgb */ color: rgb(161, 167, 29);
/* oklch */ color: oklch(70.1% 0.148 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c068',
    500: '#a1a71d',
    950: '#000000',
  },
}
SCSS
$custom: #a1a71d;
$custom-light: #c1c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a71d",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 62.609,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.70068,
    "c": 0.14787,
    "h": 112.3
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#A1A71D
secondary
#5E59C7
accent
#3BED42
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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