#A1A627#A1A627

#A1A627 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.142 H 111.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A1A627
RGBrgb(161, 166, 39)
HSLhsl(62, 62%, 40%)
HSVhsv(62, 77%, 65%)
CMYKcmyk(3%, 0%, 76.5%, 34.9%)
CIE-LABlab(65.75, -16.91, 60.21)
CIE-LCHlch(65.75, 62.54, 105.69°)
OKLaboklab(69.89% -0.053 0.1319)
OKLCHoklch(69.89% 0.142 111.9)
XYZxyz(28.7013, 34.9967, 7.1622)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A627 #2C27A6
analogous
#A66B27 #A1A627 #62A627
triadic
#A1A627 #27A1A6 #A627A1
tetradic
#A1A627 #27A66B #2C27A6 #A62762
square
#A1A627 #27A66B #2C27A6 #A62762
split-complementary
#A1A627 #2762A6 #6B27A6
monochromatic
#414310 #71741B #A1A627 #CBD13A #D8DC6B

Accessibility & contrast

On white

2.63
#A1A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A1A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A627
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A627#FFFFFF#000000##000000
##A1A6271.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#AC9B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a627;
/* rgb */ color: rgb(161, 166, 39);
/* oklch */ color: oklch(69.9% 0.142 111.9);
Tailwind
colors: {
  custom: {
    50: '#c0c06c',
    500: '#a1a627',
    950: '#000000',
  },
}
SCSS
$custom: #a1a627;
$custom-light: #c0c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a627",
  "rgb": {
    "r": 161,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 62.362,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69891,
    "c": 0.14214,
    "h": 111.9
  },
  "luminance": 0.34996
}

Semantic roles & 50–950 ramp

primary
#A1A627
secondary
#6A66C3
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A627

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

Preview Lab → · Contrast checker → · Palette generator →

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