#A1A027#A1A027

#A1A027 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.136 H 109.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A1A027
RGBrgb(161, 160, 39)
HSLhsl(60, 61%, 39%)
HSVhsv(60, 76%, 63%)
CMYKcmyk(0%, 0.6%, 75.8%, 36.9%)
CIE-LABlab(64.05, -13.81, 58.64)
CIE-LCHlch(64.05, 60.25, 103.25°)
OKLaboklab(68.54% -0.0443 0.1286)
OKLCHoklch(68.54% 0.136 109)
XYZxyz(27.6360, 32.8660, 6.8071)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A027 #2728A1
analogous
#A16327 #A1A027 #65A127
triadic
#A1A027 #27A1A0 #A027A1
tetradic
#A1A027 #27A163 #2728A1 #A12765
square
#A1A027 #27A163 #2728A1 #A12765
split-complementary
#A1A027 #2765A1 #6327A1
monochromatic
#3E3E0F #706F1B #A1A027 #CECD37 #DAD968

Accessibility & contrast

On white

2.77
#A1A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A1A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A027
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A027#FFFFFF#000000##000000
##A1A0271.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#AD9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a027;
/* rgb */ color: rgb(161, 160, 39);
/* oklch */ color: oklch(68.5% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#c0bb6b',
    500: '#a1a027',
    950: '#000000',
  },
}
SCSS
$custom: #a1a027;
$custom-light: #c0bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a027",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 59.508,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68537,
    "c": 0.13601,
    "h": 109
  },
  "luminance": 0.32865
}

Semantic roles & 50–950 ramp

primary
#A1A027
secondary
#6364C0
accent
#45E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A1A027

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

Preview Lab → · Contrast checker → · Palette generator →

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