#52B226#52B226

#52B226 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.9% C 0.193 H 138.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#52B226
RGBrgb(82, 178, 38)
HSLhsl(101, 65%, 42%)
HSVhsv(101, 79%, 70%)
CMYKcmyk(53.9%, 0%, 78.7%, 30.2%)
CIE-LABlab(64.78, -52.05, 57.99)
CIE-LCHlch(64.78, 77.92, 131.91°)
OKLaboklab(67.92% -0.144 0.129)
OKLCHoklch(67.92% 0.193 138.1)
XYZxyz(19.7492, 33.7730, 7.3115)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B226 #8626B2
analogous
#98B226 #52B226 #26B240
triadic
#52B226 #2652B2 #B22652
tetradic
#52B226 #2698B2 #8626B2 #B24026
square
#52B226 #2698B2 #8626B2 #B24026
split-complementary
#52B226 #4026B2 #B22698
monochromatic
#244D10 #3B801B #52B226 #6FD63F #95E172

Accessibility & contrast

On white

2.71
#52B226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#52B226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52B226
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52B226#FFFFFF#000000##000000
##52B2261.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#4AAC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #52b226;
/* rgb */ color: rgb(82, 178, 38);
/* oklch */ color: oklch(67.9% 0.193 138.1);
Tailwind
colors: {
  custom: {
    50: '#8dca6c',
    500: '#52b226',
    950: '#000000',
  },
}
SCSS
$custom: #52b226;
$custom-light: #8dca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#52b226",
  "rgb": {
    "r": 82,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 101.143,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67917,
    "c": 0.1933,
    "h": 138.1
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#52B226
secondary
#AB6CC8
accent
#40E8B3
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B226

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

Preview Lab → · Contrast checker → · Palette generator →

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