#A1A018#A1A018

#A1A018 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.143 H 109.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A1A018
RGBrgb(161, 160, 24)
HSLhsl(60, 74%, 36%)
HSVhsv(60, 85%, 63%)
CMYKcmyk(0%, 0.6%, 85.1%, 36.9%)
CIE-LABlab(63.99, -14.33, 62.89)
CIE-LCHlch(63.99, 64.50, 102.84°)
OKLaboklab(68.46% -0.0469 0.1349)
OKLCHoklch(68.46% 0.143 109.2)
XYZxyz(27.4347, 32.7855, 5.7471)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A018 #1819A1
analogous
#A15C18 #A1A018 #5EA118
triadic
#A1A018 #18A1A0 #A018A1
tetradic
#A1A018 #18A15C #1819A1 #A1185E
square
#A1A018 #18A15C #1819A1 #A1185E
split-complementary
#A1A018 #185EA1 #5C18A1
monochromatic
#363608 #6C6B10 #A1A018 #D6D520 #E5E44F

Accessibility & contrast

On white

2.78
#A1A018 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A1A018 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A018
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A018#FFFFFF#000000##000000
##A1A0181.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9D26
Tritanopia (blue-blind)
#AD9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a018;
/* rgb */ color: rgb(161, 160, 24);
/* oklch */ color: oklch(68.5% 0.143 109.2);
Tailwind
colors: {
  custom: {
    50: '#c1bb65',
    500: '#a1a018',
    950: '#000000',
  },
}
SCSS
$custom: #a1a018;
$custom-light: #c1bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a018",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 59.562,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.68464,
    "c": 0.14286,
    "h": 109.2
  },
  "luminance": 0.32785
}

Semantic roles & 50–950 ramp

primary
#A1A018
secondary
#4E4FC7
accent
#38F137
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A1A018

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

Preview Lab → · Contrast checker → · Palette generator →

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