#A1A428#A1A428

#A1A428 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.140 H 111.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A1A428
RGBrgb(161, 164, 40)
HSLhsl(61, 61%, 40%)
HSVhsv(61, 76%, 64%)
CMYKcmyk(1.8%, 0%, 75.6%, 35.7%)
CIE-LABlab(65.19, -15.84, 59.36)
CIE-LCHlch(65.19, 61.44, 104.94°)
OKLaboklab(69.45% -0.0499 0.1303)
OKLCHoklch(69.45% 0.14 111)
XYZxyz(28.3574, 34.2820, 7.1304)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A428 #2B28A4
analogous
#A46928 #A1A428 #63A428
triadic
#A1A428 #28A1A4 #A428A1
tetradic
#A1A428 #28A469 #2B28A4 #A42863
square
#A1A428 #28A469 #2B28A4 #A42863
split-complementary
#A1A428 #2863A4 #6928A4
monochromatic
#404210 #71731C #A1A428 #CBCF3A #D8DB6B

Accessibility & contrast

On white

2.67
#A1A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A1A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A428
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A428#FFFFFF#000000##000000
##A1A4281.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D0A
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#AC998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a428;
/* rgb */ color: rgb(161, 164, 40);
/* oklch */ color: oklch(69.4% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#c0be6c',
    500: '#a1a428',
    950: '#000000',
  },
}
SCSS
$custom: #a1a428;
$custom-light: #c0be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a428",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 61.452,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69445,
    "c": 0.13952,
    "h": 111
  },
  "luminance": 0.34281
}

Semantic roles & 50–950 ramp

primary
#A1A428
secondary
#6966C1
accent
#44E448
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A428

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

Preview Lab → · Contrast checker → · Palette generator →

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