#52A231#52A231

#52A231 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.8% C 0.167 H 138.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#52A231
RGBrgb(82, 162, 49)
HSLhsl(102, 54%, 41%)
HSVhsv(102, 70%, 64%)
CMYKcmyk(49.4%, 0%, 69.8%, 36.5%)
CIE-LABlab(59.76, -45.08, 49.04)
CIE-LCHlch(59.76, 66.62, 132.59°)
OKLaboklab(63.8% -0.1245 0.1118)
OKLCHoklch(63.8% 0.167 138.1)
XYZxyz(16.9538, 27.8551, 7.3883)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A231 #8131A2
analogous
#8BA231 #52A231 #31A249
triadic
#52A231 #3152A2 #A23152
tetradic
#52A231 #318BA2 #8131A2 #A24931
square
#52A231 #318BA2 #8131A2 #A24931
split-complementary
#52A231 #4931A2 #A2318B
monochromatic
#224415 #3A7323 #52A231 #6EC848 #93D677

Accessibility & contrast

On white

3.20
#52A231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#52A231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A231
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A231#FFFFFF#000000##000000
##52A2311.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9D8D3B
Tritanopia (blue-blind)
#4C9C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #52a231;
/* rgb */ color: rgb(82, 162, 49);
/* oklch */ color: oklch(63.8% 0.167 138.1);
Tailwind
colors: {
  custom: {
    50: '#8abe6f',
    500: '#52a231',
    950: '#000000',
  },
}
SCSS
$custom: #52a231;
$custom-light: #8abe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#52a231",
  "rgb": {
    "r": 82,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 102.478,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.16734,
    "h": 138.1
  },
  "luminance": 0.27856
}

Semantic roles & 50–950 ramp

primary
#52A231
secondary
#A871BE
accent
#4BDDB2
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #52A231

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

Preview Lab → · Contrast checker → · Palette generator →

#52A231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva