#A1A226#A1A226

#A1A226 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.139 H 110.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A1A226
RGBrgb(161, 162, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 77%, 64%)
CMYKcmyk(0.6%, 0%, 76.5%, 36.5%)
CIE-LABlab(64.61, -14.89, 59.49)
CIE-LCHlch(64.61, 61.32, 104.05°)
OKLaboklab(68.98% -0.0474 0.1302)
OKLCHoklch(68.98% 0.139 110)
XYZxyz(27.9691, 33.5585, 6.8375)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A226 #2726A2
analogous
#A26526 #A1A226 #63A226
triadic
#A1A226 #26A1A2 #A226A1
tetradic
#A1A226 #26A265 #2726A2 #A22663
square
#A1A226 #26A265 #2726A2 #A22663
split-complementary
#A1A226 #2663A2 #6526A2
monochromatic
#3E3F0F #70701A #A1A226 #CED035 #DADB67

Accessibility & contrast

On white

2.72
#A1A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A1A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A226
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A226#FFFFFF#000000##000000
##A1A2261.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B05
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#AD978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a226;
/* rgb */ color: rgb(161, 162, 38);
/* oklch */ color: oklch(69.0% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c0bd6b',
    500: '#a1a226',
    950: '#000000',
  },
}
SCSS
$custom: #a1a226;
$custom-light: #c0bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a226",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 60.484,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68981,
    "c": 0.13856,
    "h": 110
  },
  "luminance": 0.33558
}

Semantic roles & 50–950 ramp

primary
#A1A226
secondary
#6363C1
accent
#43E544
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A226

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

Preview Lab → · Contrast checker → · Palette generator →

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