#52B221#52B221

#52B221 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 67.9% C 0.196 H 137.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#52B221
RGBrgb(82, 178, 33)
HSLhsl(100, 69%, 41%)
HSVhsv(100, 81%, 70%)
CMYKcmyk(53.9%, 0%, 81.5%, 30.2%)
CIE-LABlab(64.76, -52.32, 59.44)
CIE-LCHlch(64.76, 79.19, 131.36°)
OKLaboklab(67.89% -0.145 0.1313)
OKLCHoklch(67.89% 0.196 137.8)
XYZxyz(19.6739, 33.7429, 6.9148)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B221 #8121B2
analogous
#9BB221 #52B221 #21B239
triadic
#52B221 #2152B2 #B22152
tetradic
#52B221 #219BB2 #8121B2 #B23921
square
#52B221 #219BB2 #8121B2 #B23921
split-complementary
#52B221 #3921B2 #B2219B
monochromatic
#224B0E #3A7E17 #52B221 #6EDA36 #93E36A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52B221#FFFFFF#000000##000000
##52B2211.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)
#AC9A33
Tritanopia (blue-blind)
#4AAC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #52b221;
/* rgb */ color: rgb(82, 178, 33);
/* oklch */ color: oklch(67.9% 0.196 137.8);
Tailwind
colors: {
  custom: {
    50: '#8dca6a',
    500: '#52b221',
    950: '#000000',
  },
}
SCSS
$custom: #52b221;
$custom-light: #8dca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52b221",
  "rgb": {
    "r": 82,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 99.724,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67889,
    "c": 0.1956,
    "h": 137.8
  },
  "luminance": 0.33744
}

Semantic roles & 50–950 ramp

primary
#52B221
secondary
#A866C9
accent
#3CECB0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B221

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

Preview Lab → · Contrast checker → · Palette generator →

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