#52AF2A#52AF2A

#52AF2A is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.188 H 138.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#52AF2A
RGBrgb(82, 175, 42)
HSLhsl(102, 61%, 43%)
HSVhsv(102, 76%, 69%)
CMYKcmyk(53.1%, 0%, 76%, 31.4%)
CIE-LABlab(63.85, -50.68, 55.79)
CIE-LCHlch(63.85, 75.37, 132.25°)
OKLaboklab(67.16% -0.14 0.125)
OKLCHoklch(67.16% 0.188 138.3)
XYZxyz(19.2269, 32.6195, 7.4731)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52AF2A #872AAF
analogous
#94AF2A #52AF2A #2AAF45
triadic
#52AF2A #2A52AF #AF2A52
tetradic
#52AF2A #2A94AF #872AAF #AF452A
square
#52AF2A #2A94AF #872AAF #AF452A
split-complementary
#52AF2A #452AAF #AF2A94
monochromatic
#244C12 #3B7E1E #52AF2A #6FD244 #95DE75

Accessibility & contrast

On white

2.79
#52AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#52AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52AF2A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52AF2A#FFFFFF#000000##000000
##52AF2A1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F0B
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#4AA996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #52af2a;
/* rgb */ color: rgb(82, 175, 42);
/* oklch */ color: oklch(67.2% 0.188 138.3);
Tailwind
colors: {
  custom: {
    50: '#8cc86d',
    500: '#52af2a',
    950: '#000000',
  },
}
SCSS
$custom: #52af2a;
$custom-light: #8cc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#52af2a",
  "rgb": {
    "r": 82,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 101.955,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.18769,
    "h": 138.3
  },
  "luminance": 0.32621
}

Semantic roles & 50–950 ramp

primary
#52AF2A
secondary
#AC6FC6
accent
#43E4B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #52AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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