#A1A826#A1A826

#A1A826 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.145 H 112.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A1A826
RGBrgb(161, 168, 38)
HSLhsl(63, 63%, 40%)
HSVhsv(63, 77%, 66%)
CMYKcmyk(4.2%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.31, -17.97, 61.04)
CIE-LCHlch(66.31, 63.63, 106.40°)
OKLaboklab(70.34% -0.056 0.1335)
OKLCHoklch(70.34% 0.145 112.8)
XYZxyz(29.0514, 35.7229, 7.1982)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A826 #2D26A8
analogous
#A86E26 #A1A826 #60A826
triadic
#A1A826 #26A1A8 #A826A1
tetradic
#A1A826 #26A86E #2D26A8 #A82660
square
#A1A826 #26A86E #2D26A8 #A82660
split-complementary
#A1A826 #2660A8 #6E26A8
monochromatic
#41440F #71761B #A1A826 #CAD239 #D7DE6B

Accessibility & contrast

On white

2.58
#A1A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A1A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A826
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A826#FFFFFF#000000##000000
##A1A8261.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#AC9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a826;
/* rgb */ color: rgb(161, 168, 38);
/* oklch */ color: oklch(70.3% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c16c',
    500: '#a1a826',
    950: '#000000',
  },
}
SCSS
$custom: #a1a826;
$custom-light: #c0c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a826",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 63.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70339,
    "c": 0.14476,
    "h": 112.8
  },
  "luminance": 0.35722
}

Semantic roles & 50–950 ramp

primary
#A1A826
secondary
#6B66C4
accent
#42E64B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A826

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

Preview Lab → · Contrast checker → · Palette generator →

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