#52AC1F#52AC1F

#52AC1F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.3% C 0.190 H 137.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#52AC1F
RGBrgb(82, 172, 31)
HSLhsl(98, 69%, 40%)
HSVhsv(98, 82%, 67%)
CMYKcmyk(52.3%, 0%, 82%, 32.5%)
CIE-LABlab(62.84, -50.18, 58.24)
CIE-LCHlch(62.84, 76.87, 130.75°)
OKLaboklab(66.31% -0.1393 0.1285)
OKLCHoklch(66.31% 0.19 137.3)
XYZxyz(18.4789, 31.3964, 6.3824)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52AC1F #791FAC
analogous
#98AC1F #52AC1F #1FAC33
triadic
#52AC1F #1F52AC #AC1F52
tetradic
#52AC1F #1F98AC #791FAC #AC331F
square
#52AC1F #1F98AC #791FAC #AC331F
split-complementary
#52AC1F #331FAC #AC1F98
monochromatic
#21440C #397816 #52AC1F #6CD92F #91E363

Accessibility & contrast

On white

2.88
#52AC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#52AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52AC1F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52AC1F#FFFFFF#000000##000000
##52AC1F1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#4CA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #52ac1f;
/* rgb */ color: rgb(82, 172, 31);
/* oklch */ color: oklch(66.3% 0.190 137.3);
Tailwind
colors: {
  custom: {
    50: '#8cc568',
    500: '#52ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #52ac1f;
$custom-light: #8cc568;
$custom-dark: #000000;
JSON
{
  "hex": "#52ac1f",
  "rgb": {
    "r": 82,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 98.298,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66306,
    "c": 0.18953,
    "h": 137.3
  },
  "luminance": 0.31398
}

Semantic roles & 50–950 ramp

primary
#52AC1F
secondary
#A25FC8
accent
#3CECAC
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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