#A2B531#A2B531

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

Color values

HEX#A2B531
RGBrgb(162, 181, 49)
HSLhsl(69, 57%, 45%)
HSVhsv(69, 73%, 71%)
CMYKcmyk(10.5%, 0%, 72.9%, 29%)
CIE-LABlab(70.14, -23.54, 61.00)
CIE-LCHlch(70.14, 65.38, 111.10°)
OKLaboklab(73.45% -0.0705 0.1353)
OKLCHoklch(73.45% 0.153 117.5)
XYZxyz(31.9793, 40.9512, 9.1248)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B531 #4431B5
analogous
#B58631 #A2B531 #60B531
triadic
#A2B531 #31A2B5 #B531A2
tetradic
#A2B531 #31B586 #4431B5 #B53160
square
#A2B531 #31B586 #4431B5 #B53160
split-complementary
#A2B531 #3160B5 #8631B5
monochromatic
#4C5517 #778524 #A2B531 #BED053 #D0DD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B531#FFFFFF#000000##000000
##A2B5311.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b531;
/* rgb */ color: rgb(162, 181, 49);
/* oklch */ color: oklch(73.5% 0.153 117.5);
Tailwind
colors: {
  custom: {
    50: '#c1cb73',
    500: '#a2b531',
    950: '#000000',
  },
}
SCSS
$custom: #a2b531;
$custom-light: #c1cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b531",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 68.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73454,
    "c": 0.15258,
    "h": 117.5
  },
  "luminance": 0.40951
}

Semantic roles & 50–950 ramp

primary
#A2B531
secondary
#867BC7
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B531

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

Preview Lab → · Contrast checker → · Palette generator →

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