#A1B529#A1B529

#A1B529 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.3% C 0.157 H 117.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A1B529
RGBrgb(161, 181, 41)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(11%, 0%, 77.3%, 29%)
CIE-LABlab(70.03, -24.33, 63.51)
CIE-LCHlch(70.03, 68.01, 110.97°)
OKLaboklab(73.33% -0.0733 0.1393)
OKLCHoklch(73.33% 0.157 117.8)
XYZxyz(31.6228, 40.7852, 8.3038)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B529 #3D29B5
analogous
#B58329 #A1B529 #5BB529
triadic
#A1B529 #29A1B5 #B529A1
tetradic
#A1B529 #29B583 #3D29B5 #B5295B
square
#A1B529 #29B583 #3D29B5 #B5295B
split-complementary
#A1B529 #295BB5 #8329B5
monochromatic
#485112 #75831E #A1B529 #C1D546 #D1E078

Accessibility & contrast

On white

2.29
#A1B529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A1B529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B529
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B529#FFFFFF#000000##000000
##A1B5291.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#ABAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b529;
/* rgb */ color: rgb(161, 181, 41);
/* oklch */ color: oklch(73.3% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#c0cb6f',
    500: '#a1b529',
    950: '#000000',
  },
}
SCSS
$custom: #a1b529;
$custom-light: #c0cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b529",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 68.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.15739,
    "h": 117.8
  },
  "luminance": 0.40785
}

Semantic roles & 50–950 ramp

primary
#A1B529
secondary
#7E72C8
accent
#42E659
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B529

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

Preview Lab → · Contrast checker → · Palette generator →

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