#A1B126#A1B126

#A1B126 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.154 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A1B126
RGBrgb(161, 177, 38)
HSLhsl(67, 65%, 42%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.87, -22.49, 63.36)
CIE-LCHlch(68.87, 67.24, 109.54°)
OKLaboklab(72.39% -0.0685 0.1384)
OKLCHoklch(72.39% 0.154 116.3)
XYZxyz(30.7708, 39.1617, 7.7713)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B126 #3626B1
analogous
#B17B26 #A1B126 #5CB126
triadic
#A1B126 #26A1B1 #B126A1
tetradic
#A1B126 #26B17B #3626B1 #B1265C
square
#A1B126 #26B17B #3626B1 #B1265C
split-complementary
#A1B126 #265CB1 #7B26B1
monochromatic
#454C10 #737F1B #A1B126 #C4D63F #D4E071

Accessibility & contrast

On white

2.38
#A1B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A1B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B126
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B126#FFFFFF#000000##000000
##A1B1261.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#ACA797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b126;
/* rgb */ color: rgb(161, 177, 38);
/* oklch */ color: oklch(72.4% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#c1c86d',
    500: '#a1b126',
    950: '#000000',
  },
}
SCSS
$custom: #a1b126;
$custom-light: #c1c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b126",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 66.906,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72394,
    "c": 0.15444,
    "h": 116.3
  },
  "luminance": 0.39161
}

Semantic roles & 50–950 ramp

primary
#A1B126
secondary
#766BC7
accent
#40E853
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B126

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

Preview Lab → · Contrast checker → · Palette generator →

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