#52B228#52B228

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

Color values

HEX#52B228
RGBrgb(82, 178, 40)
HSLhsl(102, 63%, 43%)
HSVhsv(102, 78%, 70%)
CMYKcmyk(53.9%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.79, -51.93, 57.36)
CIE-LCHlch(64.79, 77.38, 132.15°)
OKLaboklab(67.93% -0.1435 0.128)
OKLCHoklch(67.93% 0.192 138.3)
XYZxyz(19.7824, 33.7863, 7.4860)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B228 #8828B2
analogous
#97B228 #52B228 #28B243
triadic
#52B228 #2852B2 #B22852
tetradic
#52B228 #2897B2 #8828B2 #B24328
square
#52B228 #2897B2 #8828B2 #B24328
split-complementary
#52B228 #4328B2 #B22897
monochromatic
#244E12 #3B801D #52B228 #6FD543 #95E075

Accessibility & contrast

On white

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

On black

7.76
#52B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52B228
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52B228#FFFFFF#000000##000000
##52B2281.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52b228;
/* rgb */ color: rgb(82, 178, 40);
/* oklch */ color: oklch(67.9% 0.192 138.3);
Tailwind
colors: {
  custom: {
    50: '#8dca6d',
    500: '#52b228',
    950: '#000000',
  },
}
SCSS
$custom: #52b228;
$custom-light: #8dca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#52b228",
  "rgb": {
    "r": 82,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 101.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67929,
    "c": 0.1923,
    "h": 138.3
  },
  "luminance": 0.33788
}

Semantic roles & 50–950 ramp

primary
#52B228
secondary
#AC6FC7
accent
#41E6B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #52B228

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

Preview Lab → · Contrast checker → · Palette generator →

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