#A2B546#A2B546

#A2B546 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.6% C 0.138 H 118.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A2B546
RGBrgb(162, 181, 70)
HSLhsl(70, 44%, 49%)
HSVhsv(70, 61%, 71%)
CMYKcmyk(10.5%, 0%, 61.3%, 29%)
CIE-LABlab(70.30, -22.22, 52.83)
CIE-LCHlch(70.30, 57.31, 112.81°)
OKLaboklab(73.63% -0.0648 0.1213)
OKLCHoklch(73.63% 0.138 118.1)
XYZxyz(32.5302, 41.1716, 12.0264)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B546 #5946B5
analogous
#B59146 #A2B546 #6BB546
triadic
#A2B546 #46A2B5 #B546A2
tetradic
#A2B546 #46B591 #5946B5 #B5466B
square
#A2B546 #46B591 #5946B5 #B5466B
split-complementary
#A2B546 #466BB5 #9146B5
monochromatic
#535D24 #7B8935 #A2B546 #B9C870 #CFD99C

Accessibility & contrast

On white

2.27
#A2B546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A2B546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B546
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B546#FFFFFF#000000##000000
##A2B5461.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC39
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#ABAC9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b546;
/* rgb */ color: rgb(162, 181, 70);
/* oklch */ color: oklch(73.6% 0.138 118.1);
Tailwind
colors: {
  custom: {
    50: '#c0cb7e',
    500: '#a2b546',
    950: '#000000',
  },
}
SCSS
$custom: #a2b546;
$custom-light: #c0cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b546",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 70.27,
    "s": 44.223,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73628,
    "c": 0.13752,
    "h": 118.1
  },
  "luminance": 0.41171
}

Semantic roles & 50–950 ramp

primary
#A2B546
secondary
#9A92C5
accent
#54D46A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B546

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

Preview Lab → · Contrast checker → · Palette generator →

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