#A2B533#A2B533

#A2B533 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.5% C 0.151 H 117.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A2B533
RGBrgb(162, 181, 51)
HSLhsl(69, 56%, 45%)
HSVhsv(69, 72%, 71%)
CMYKcmyk(10.5%, 0%, 71.8%, 29%)
CIE-LABlab(70.15, -23.44, 60.30)
CIE-LCHlch(70.15, 64.69, 111.24°)
OKLaboklab(73.47% -0.0701 0.1342)
OKLCHoklch(73.47% 0.151 117.6)
XYZxyz(32.0224, 40.9685, 9.3521)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B533 #4633B5
analogous
#B58733 #A2B533 #61B533
triadic
#A2B533 #33A2B5 #B533A2
tetradic
#A2B533 #33B587 #4633B5 #B53361
square
#A2B533 #33B587 #4633B5 #B53361
split-complementary
#A2B533 #3361B5 #8733B5
monochromatic
#4D5618 #778526 #A2B533 #BECF56 #D0DD86

Accessibility & contrast

On white

2.28
#A2B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A2B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B533
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B533#FFFFFF#000000##000000
##A2B5331.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b533;
/* rgb */ color: rgb(162, 181, 51);
/* oklch */ color: oklch(73.5% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#c1cb74',
    500: '#a2b533',
    950: '#000000',
  },
}
SCSS
$custom: #a2b533;
$custom-light: #c1cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b533",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 68.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73468,
    "c": 0.15136,
    "h": 117.6
  },
  "luminance": 0.40968
}

Semantic roles & 50–950 ramp

primary
#A2B533
secondary
#887DC6
accent
#48DF5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B533

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

Preview Lab → · Contrast checker → · Palette generator →

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