#A1B428#A1B428

#A1B428 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.1% C 0.157 H 117.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A1B428
RGBrgb(161, 180, 40)
HSLhsl(68, 64%, 43%)
HSVhsv(68, 78%, 71%)
CMYKcmyk(10.6%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.73, -23.89, 63.55)
CIE-LCHlch(69.73, 67.89, 110.60°)
OKLaboklab(73.09% -0.0722 0.1392)
OKLCHoklch(73.09% 0.157 117.4)
XYZxyz(31.4030, 40.3731, 8.1456)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B428 #3B28B4
analogous
#B48128 #A1B428 #5BB428
triadic
#A1B428 #28A1B4 #B428A1
tetradic
#A1B428 #28B481 #3B28B4 #B4285B
square
#A1B428 #28B481 #3B28B4 #B4285B
split-complementary
#A1B428 #285BB4 #8128B4
monochromatic
#475012 #74821D #A1B428 #C2D544 #D2E176

Accessibility & contrast

On white

2.31
#A1B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A1B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B428
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B428#FFFFFF#000000##000000
##A1B4281.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#ABAA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1b428;
/* rgb */ color: rgb(161, 180, 40);
/* oklch */ color: oklch(73.1% 0.157 117.4);
Tailwind
colors: {
  custom: {
    50: '#c0ca6e',
    500: '#a1b428',
    950: '#000000',
  },
}
SCSS
$custom: #a1b428;
$custom-light: #c0ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b428",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 68.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73093,
    "c": 0.15677,
    "h": 117.4
  },
  "luminance": 0.40373
}

Semantic roles & 50–950 ramp

primary
#A1B428
secondary
#7C70C8
accent
#41E758
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B428

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

Preview Lab → · Contrast checker → · Palette generator →

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