#A1B829#A1B829

#A1B829 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.0% C 0.161 H 118.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A1B829
RGBrgb(161, 184, 41)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 72%)
CMYKcmyk(12.5%, 0%, 77.7%, 27.8%)
CIE-LABlab(70.88, -25.80, 64.29)
CIE-LCHlch(70.88, 69.27, 111.86°)
OKLaboklab(74.02% -0.0774 0.1409)
OKLCHoklch(74.02% 0.161 118.8)
XYZxyz(32.2394, 42.0184, 8.5094)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B829 #4029B8
analogous
#B88829 #A1B829 #5AB829
triadic
#A1B829 #29A1B8 #B829A1
tetradic
#A1B829 #29B888 #4029B8 #B8295A
square
#A1B829 #29B888 #4029B8 #B8295A
split-complementary
#A1B829 #295AB8 #8829B8
monochromatic
#495413 #75861E #A1B829 #BFD648 #D1E17A

Accessibility & contrast

On white

2.23
#A1B829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A1B829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B829
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B829#FFFFFF#000000##000000
##A1B8291.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#ABAE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1b829;
/* rgb */ color: rgb(161, 184, 41);
/* oklch */ color: oklch(74.0% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#c1cd6f',
    500: '#a1b829',
    950: '#000000',
  },
}
SCSS
$custom: #a1b829;
$custom-light: #c1cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b829",
  "rgb": {
    "r": 161,
    "g": 184,
    "b": 41
  },
  "hsl": {
    "h": 69.65,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74019,
    "c": 0.16076,
    "h": 118.8
  },
  "luminance": 0.42018
}

Semantic roles & 50–950 ramp

primary
#A1B829
secondary
#8173C9
accent
#41E75C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1B829

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

Preview Lab → · Contrast checker → · Palette generator →

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