#A1A426#A1A426

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

Color values

HEX#A1A426
RGBrgb(161, 164, 38)
HSLhsl(61, 62%, 40%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.8%, 0%, 76.8%, 35.7%)
CIE-LABlab(65.18, -15.92, 60.01)
CIE-LCHlch(65.18, 62.08, 104.86°)
OKLaboklab(69.43% -0.0503 0.1313)
OKLCHoklch(69.43% 0.141 111)
XYZxyz(28.3243, 34.2687, 6.9558)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A426 #2926A4
analogous
#A46826 #A1A426 #62A426
triadic
#A1A426 #26A1A4 #A426A1
tetradic
#A1A426 #26A468 #2926A4 #A42662
square
#A1A426 #26A468 #2926A4 #A42662
split-complementary
#A1A426 #2662A4 #6826A4
monochromatic
#3F410F #70721A #A1A426 #CDD137 #D9DC68

Accessibility & contrast

On white

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

On black

7.85
#A1A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A426
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A426#FFFFFF#000000##000000
##A1A4261.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a426;
/* rgb */ color: rgb(161, 164, 38);
/* oklch */ color: oklch(69.4% 0.141 111.0);
Tailwind
colors: {
  custom: {
    50: '#c0be6b',
    500: '#a1a426',
    950: '#000000',
  },
}
SCSS
$custom: #a1a426;
$custom-light: #c0be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a426",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 61.429,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69433,
    "c": 0.1406,
    "h": 111
  },
  "luminance": 0.34268
}

Semantic roles & 50–950 ramp

primary
#A1A426
secondary
#6664C2
accent
#42E546
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A426

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

Preview Lab → · Contrast checker → · Palette generator →

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