#A1A71F#A1A71F

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

Color values

HEX#A1A71F
RGBrgb(161, 167, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 81%, 65%)
CMYKcmyk(3.6%, 0%, 81.4%, 34.5%)
CIE-LABlab(65.99, -17.72, 62.81)
CIE-LCHlch(65.99, 65.27, 105.75°)
OKLaboklab(70.08% -0.0558 0.136)
OKLCHoklch(70.08% 0.147 112.3)
XYZxyz(28.7650, 35.3141, 6.5971)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A71F #251FA7
analogous
#A7691F #A1A71F #5DA71F
triadic
#A1A71F #1FA1A7 #A71FA1
tetradic
#A1A71F #1FA769 #251FA7 #A71F5D
square
#A1A71F #1FA769 #251FA7 #A71F5D
split-complementary
#A1A71F #1F5DA7 #691FA7
monochromatic
#3D400C #6F7315 #A1A71F #D0D82B #DCE15F

Accessibility & contrast

On white

2.60
#A1A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A71F#FFFFFF#000000##000000
##A1A71F1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1a71f;
/* rgb */ color: rgb(161, 167, 31);
/* oklch */ color: oklch(70.1% 0.147 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c069',
    500: '#a1a71f',
    950: '#000000',
  },
}
SCSS
$custom: #a1a71f;
$custom-light: #c1c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a71f",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 62.647,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70077,
    "c": 0.14703,
    "h": 112.3
  },
  "luminance": 0.35313
}

Semantic roles & 50–950 ramp

primary
#A1A71F
secondary
#615CC6
accent
#3CEC44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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