#A1B533#A1B533

#A1B533 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.152 H 118.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A1B533
RGBrgb(161, 181, 51)
HSLhsl(69, 56%, 45%)
HSVhsv(69, 72%, 71%)
CMYKcmyk(11%, 0%, 71.8%, 29%)
CIE-LABlab(70.08, -23.85, 60.20)
CIE-LCHlch(70.08, 64.76, 111.62°)
OKLaboklab(73.39% -0.0712 0.134)
OKLCHoklch(73.39% 0.152 118)
XYZxyz(31.8201, 40.8641, 9.3426)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B533 #4733B5
analogous
#B58833 #A1B533 #60B533
triadic
#A1B533 #33A1B5 #B533A1
tetradic
#A1B533 #33B588 #4733B5 #B53360
square
#A1B533 #33B588 #4733B5 #B53360
split-complementary
#A1B533 #3360B5 #8833B5
monochromatic
#4C5618 #778526 #A1B533 #BDCF56 #CFDD86

Accessibility & contrast

On white

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

On black

9.17
#A1B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B533
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B533#FFFFFF#000000##000000
##A1B5331.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1B
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#ABAB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b533;
/* rgb */ color: rgb(161, 181, 51);
/* oklch */ color: oklch(73.4% 0.152 118.0);
Tailwind
colors: {
  custom: {
    50: '#c0cb74',
    500: '#a1b533',
    950: '#000000',
  },
}
SCSS
$custom: #a1b533;
$custom-light: #c0cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b533",
  "rgb": {
    "r": 161,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 69.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.15172,
    "h": 118
  },
  "luminance": 0.40864
}

Semantic roles & 50–950 ramp

primary
#A1B533
secondary
#897DC6
accent
#48DF60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B533

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

Preview Lab → · Contrast checker → · Palette generator →

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