#A2B752#A2B752

#A2B752 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.2% C 0.129 H 119.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A2B752
RGBrgb(162, 183, 82)
HSLhsl(72, 41%, 52%)
HSVhsv(72, 55%, 72%)
CMYKcmyk(11.5%, 0%, 55.2%, 28.2%)
CIE-LABlab(70.98, -22.23, 48.16)
CIE-LCHlch(70.98, 53.04, 114.77°)
OKLaboklab(74.21% -0.0637 0.1127)
OKLCHoklch(74.21% 0.129 119.5)
XYZxyz(33.3571, 42.1577, 14.3610)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B752 #6752B7
analogous
#B79952 #A2B752 #70B752
triadic
#A2B752 #52A2B7 #B752A2
tetradic
#A2B752 #52B799 #6752B7 #B75270
square
#A2B752 #52B799 #6752B7 #B75270
split-complementary
#A2B752 #5270B7 #9952B7
monochromatic
#58652A #7E903C #A2B752 #B9C97D #D0DBA8

Accessibility & contrast

On white

2.23
#A2B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A2B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B752
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B752#FFFFFF#000000##000000
##A2B7521.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE48
Deuteranopia (green-blind)
#BFAE58
Tritanopia (blue-blind)
#AAAEA1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b752;
/* rgb */ color: rgb(162, 183, 82);
/* oklch */ color: oklch(74.2% 0.129 119.5);
Tailwind
colors: {
  custom: {
    50: '#c0cc86',
    500: '#a2b752',
    950: '#000000',
  },
}
SCSS
$custom: #a2b752;
$custom-light: #c0cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b752",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 72.475,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74214,
    "c": 0.12945,
    "h": 119.5
  },
  "luminance": 0.42158
}

Semantic roles & 50–950 ramp

primary
#A2B752
secondary
#A59CC9
accent
#57D170
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B752

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

Preview Lab → · Contrast checker → · Palette generator →

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