#A1B128#A1B128

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

Color values

HEX#A1B128
RGBrgb(161, 177, 40)
HSLhsl(67, 63%, 43%)
HSVhsv(67, 77%, 69%)
CMYKcmyk(9%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.88, -22.41, 62.76)
CIE-LCHlch(68.88, 66.64, 109.65°)
OKLaboklab(72.4% -0.0681 0.1375)
OKLCHoklch(72.4% 0.153 116.3)
XYZxyz(30.8039, 39.1750, 7.9459)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B128 #3828B1
analogous
#B17C28 #A1B128 #5DB128
triadic
#A1B128 #28A1B1 #B128A1
tetradic
#A1B128 #28B17C #3828B1 #B1285D
square
#A1B128 #28B17C #3828B1 #B1285D
split-complementary
#A1B128 #285DB1 #7C28B1
monochromatic
#464D11 #747F1D #A1B128 #C3D442 #D3E074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B128#FFFFFF#000000##000000
##A1B1281.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)
#BCA935
Tritanopia (blue-blind)
#ACA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b128;
/* rgb */ color: rgb(161, 177, 40);
/* oklch */ color: oklch(72.4% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c0c86e',
    500: '#a1b128',
    950: '#000000',
  },
}
SCSS
$custom: #a1b128;
$custom-light: #c0c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b128",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 67.007,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72404,
    "c": 0.15345,
    "h": 116.3
  },
  "luminance": 0.39175
}

Semantic roles & 50–950 ramp

primary
#A1B128
secondary
#786EC7
accent
#42E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B128

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

Preview Lab → · Contrast checker → · Palette generator →

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