#A1B326#A1B326

#A1B326 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.157 H 117.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A1B326
RGBrgb(161, 179, 38)
HSLhsl(68, 65%, 43%)
HSVhsv(68, 79%, 70%)
CMYKcmyk(10.1%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.44, -23.48, 63.88)
CIE-LCHlch(69.44, 68.06, 110.18°)
OKLaboklab(72.85% -0.0712 0.1395)
OKLCHoklch(72.85% 0.157 117)
XYZxyz(31.1687, 39.9576, 7.9040)
Luminance0.3996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B326 #3826B3
analogous
#B37F26 #A1B326 #5AB326
triadic
#A1B326 #26A1B3 #B326A1
tetradic
#A1B326 #26B37F #3826B3 #B3265A
square
#A1B326 #26B37F #3826B3 #B3265A
split-complementary
#A1B326 #265AB3 #7F26B3
monochromatic
#464E11 #74811B #A1B326 #C3D640 #D3E172

Accessibility & contrast

On white

2.34
#A1B326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A1B326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B326
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B326#FFFFFF#000000##000000
##A1B3261.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#ABA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b326;
/* rgb */ color: rgb(161, 179, 38);
/* oklch */ color: oklch(72.9% 0.157 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1c96d',
    500: '#a1b326',
    950: '#000000',
  },
}
SCSS
$custom: #a1b326;
$custom-light: #c1c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b326",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 67.66,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72853,
    "c": 0.15665,
    "h": 117
  },
  "luminance": 0.39957
}

Semantic roles & 50–950 ramp

primary
#A1B326
secondary
#786DC8
accent
#40E855
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B326

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

Preview Lab → · Contrast checker → · Palette generator →

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