#A2B548#A2B548

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

Color values

HEX#A2B548
RGBrgb(162, 181, 72)
HSLhsl(70, 43%, 50%)
HSVhsv(70, 60%, 71%)
CMYKcmyk(10.5%, 0%, 60.2%, 29%)
CIE-LABlab(70.31, -22.07, 51.97)
CIE-LCHlch(70.31, 56.46, 113.01°)
OKLaboklab(73.65% -0.0642 0.1197)
OKLCHoklch(73.65% 0.136 118.2)
XYZxyz(32.5944, 41.1973, 12.3644)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B548 #5B48B5
analogous
#B59248 #A2B548 #6BB548
triadic
#A2B548 #48A2B5 #B548A2
tetradic
#A2B548 #48B592 #5B48B5 #B5486B
square
#A2B548 #48B592 #5B48B5 #B5486B
split-complementary
#A2B548 #486BB5 #9248B5
monochromatic
#545D25 #7B8937 #A2B548 #B9C773 #CFD99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B548#FFFFFF#000000##000000
##A2B5481.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)
#C0AC3C
Deuteranopia (green-blind)
#BEAC4F
Tritanopia (blue-blind)
#ABAC9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b548;
/* rgb */ color: rgb(162, 181, 72);
/* oklch */ color: oklch(73.6% 0.136 118.2);
Tailwind
colors: {
  custom: {
    50: '#c0cb7f',
    500: '#a2b548',
    950: '#000000',
  },
}
SCSS
$custom: #a2b548;
$custom-light: #c0cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b548",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 70.459,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73648,
    "c": 0.13584,
    "h": 118.2
  },
  "luminance": 0.41197
}

Semantic roles & 50–950 ramp

primary
#A2B548
secondary
#9C93C5
accent
#55D36B
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B548

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

Preview Lab → · Contrast checker → · Palette generator →

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