#A1A91F#A1A91F

#A1A91F is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.149 H 113.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A1A91F
RGBrgb(161, 169, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 82%, 66%)
CMYKcmyk(4.7%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.56, -18.74, 63.31)
CIE-LCHlch(66.56, 66.02, 106.49°)
OKLaboklab(70.53% -0.0586 0.1371)
OKLCHoklch(70.53% 0.149 113.2)
XYZxyz(29.1342, 36.0526, 6.7202)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A91F #271FA9
analogous
#A96C1F #A1A91F #5CA91F
triadic
#A1A91F #1FA1A9 #A91FA1
tetradic
#A1A91F #1FA96C #271FA9 #A91F5C
square
#A1A91F #1FA96C #271FA9 #A91F5C
split-complementary
#A1A91F #1F5CA9 #6C1FA9
monochromatic
#3E420C #707516 #A1A91F #CED82D #DAE260

Accessibility & contrast

On white

2.56
#A1A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A1A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A91F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A91F#FFFFFF#000000##000000
##A1A91F1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#AC9E90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a1a91f;
/* rgb */ color: rgb(161, 169, 31);
/* oklch */ color: oklch(70.5% 0.149 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c269',
    500: '#a1a91f',
    950: '#000000',
  },
}
SCSS
$custom: #a1a91f;
$custom-light: #c1c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a91f",
  "rgb": {
    "r": 161,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 63.478,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.14909,
    "h": 113.2
  },
  "luminance": 0.36052
}

Semantic roles & 50–950 ramp

primary
#A1A91F
secondary
#635DC7
accent
#3CEC46
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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