#A2B549#A2B549

#A2B549 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.7% C 0.135 H 118.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A2B549
RGBrgb(162, 181, 73)
HSLhsl(71, 43%, 50%)
HSVhsv(71, 60%, 71%)
CMYKcmyk(10.5%, 0%, 59.7%, 29%)
CIE-LABlab(70.32, -21.99, 51.53)
CIE-LCHlch(70.32, 56.03, 113.11°)
OKLaboklab(73.66% -0.0639 0.1189)
OKLCHoklch(73.66% 0.135 118.2)
XYZxyz(32.6273, 41.2104, 12.5376)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B549 #5C49B5
analogous
#B59249 #A2B549 #6CB549
triadic
#A2B549 #49A2B5 #B549A2
tetradic
#A2B549 #49B592 #5C49B5 #B5496C
square
#A2B549 #49B592 #5C49B5 #B5496C
split-complementary
#A2B549 #496CB5 #9249B5
monochromatic
#545E26 #7B8937 #A2B549 #B8C774 #CFD9A0

Accessibility & contrast

On white

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

On black

9.24
#A2B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B549
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B549#FFFFFF#000000##000000
##A2B5491.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b549;
/* rgb */ color: rgb(162, 181, 73);
/* oklch */ color: oklch(73.7% 0.135 118.2);
Tailwind
colors: {
  custom: {
    50: '#c0cb80',
    500: '#a2b549',
    950: '#000000',
  },
}
SCSS
$custom: #a2b549;
$custom-light: #c0cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b549",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 70.556,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.13498,
    "h": 118.2
  },
  "luminance": 0.4121
}

Semantic roles & 50–950 ramp

primary
#A2B549
secondary
#9D94C5
accent
#55D26B
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2B549

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

Preview Lab → · Contrast checker → · Palette generator →

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