#A1A118#A1A118

#A1A118 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.7% C 0.144 H 109.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A1A118
RGBrgb(161, 161, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 63%)
CMYKcmyk(0%, 0%, 85.1%, 36.9%)
CIE-LABlab(64.27, -14.85, 63.12)
CIE-LCHlch(64.27, 64.84, 103.24°)
OKLaboklab(68.69% -0.0484 0.1354)
OKLCHoklch(68.69% 0.144 109.7)
XYZxyz(27.6088, 33.1336, 5.8051)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A118 #1818A1
analogous
#A15D18 #A1A118 #5DA118
triadic
#A1A118 #18A1A1 #A118A1
tetradic
#A1A118 #18A15D #1818A1 #A1185D
square
#A1A118 #18A15D #1818A1 #A1185D
split-complementary
#A1A118 #185DA1 #5D18A1
monochromatic
#363608 #6C6C10 #A1A118 #D6D620 #E5E54F

Accessibility & contrast

On white

2.75
#A1A118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A1A118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A118
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A118#FFFFFF#000000##000000
##A1A1181.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B09E27
Tritanopia (blue-blind)
#AD9689
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a1a118;
/* rgb */ color: rgb(161, 161, 24);
/* oklch */ color: oklch(68.7% 0.144 109.7);
Tailwind
colors: {
  custom: {
    50: '#c1bc65',
    500: '#a1a118',
    950: '#000000',
  },
}
SCSS
$custom: #a1a118;
$custom-light: #c1bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a118",
  "rgb": {
    "r": 161,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.68689,
    "c": 0.14382,
    "h": 109.7
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

primary
#A1A118
secondary
#4E4EC7
accent
#37F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #A1A118

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

Preview Lab → · Contrast checker → · Palette generator →

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