#52A71C#52A71C

#52A71C is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.0% C 0.185 H 136.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#52A71C
RGBrgb(82, 167, 28)
HSLhsl(97, 71%, 38%)
HSVhsv(97, 83%, 65%)
CMYKcmyk(50.9%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.23, -48.41, 57.59)
CIE-LCHlch(61.23, 75.24, 130.05°)
OKLaboklab(64.98% -0.1347 0.1267)
OKLCHoklch(64.98% 0.185 136.8)
XYZxyz(17.5075, 29.5139, 5.8726)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A71C #711CA7
analogous
#97A71C #52A71C #1CA72C
triadic
#52A71C #1C52A7 #A71C52
tetradic
#52A71C #1C97A7 #711CA7 #A72C1C
square
#52A71C #1C97A7 #711CA7 #A72C1C
split-complementary
#52A71C #2C1CA7 #A71C97
monochromatic
#1F3E0A #387313 #52A71C #6CDB26 #8FE35A

Accessibility & contrast

On white

3.04
#52A71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#52A71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A71C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A71C#FFFFFF#000000##000000
##52A71C1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#4DA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #52a71c;
/* rgb */ color: rgb(82, 167, 28);
/* oklch */ color: oklch(65.0% 0.185 136.8);
Tailwind
colors: {
  custom: {
    50: '#8bc266',
    500: '#52a71c',
    950: '#000000',
  },
}
SCSS
$custom: #52a71c;
$custom-light: #8bc266;
$custom-dark: #000000;
JSON
{
  "hex": "#52a71c",
  "rgb": {
    "r": 82,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 96.691,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.18497,
    "h": 136.8
  },
  "luminance": 0.29515
}

Semantic roles & 50–950 ramp

primary
#52A71C
secondary
#9C58C7
accent
#3AEEA8
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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