#A1A726#A1A726

#A1A726 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.144 H 112.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A1A726
RGBrgb(161, 167, 38)
HSLhsl(63, 63%, 40%)
HSVhsv(63, 77%, 65%)
CMYKcmyk(3.6%, 0%, 77.2%, 34.5%)
CIE-LABlab(66.02, -17.46, 60.78)
CIE-LCHlch(66.02, 63.24, 106.03°)
OKLaboklab(70.11% -0.0546 0.1329)
OKLCHoklch(70.11% 0.144 112.3)
XYZxyz(28.8675, 35.3551, 7.1369)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A726 #2C26A7
analogous
#A76D26 #A1A726 #60A726
triadic
#A1A726 #26A1A7 #A726A1
tetradic
#A1A726 #26A76D #2C26A7 #A72660
square
#A1A726 #26A76D #2C26A7 #A72660
split-complementary
#A1A726 #2660A7 #6D26A7
monochromatic
#41430F #71751B #A1A726 #CBD238 #D8DD6A

Accessibility & contrast

On white

2.60
#A1A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A1A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A726
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A726#FFFFFF#000000##000000
##A1A7261.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#AC9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a726;
/* rgb */ color: rgb(161, 167, 38);
/* oklch */ color: oklch(70.1% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c06c',
    500: '#a1a726',
    950: '#000000',
  },
}
SCSS
$custom: #a1a726;
$custom-light: #c0c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a726",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 62.791,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70112,
    "c": 0.14371,
    "h": 112.3
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#A1A726
secondary
#6A65C3
accent
#42E649
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A726

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

Preview Lab → · Contrast checker → · Palette generator →

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