#52AD1F#52AD1F

#52AD1F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.6% C 0.191 H 137.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#52AD1F
RGBrgb(82, 173, 31)
HSLhsl(98, 70%, 40%)
HSVhsv(98, 82%, 68%)
CMYKcmyk(52.6%, 0%, 82.1%, 32.2%)
CIE-LABlab(63.16, -50.55, 58.53)
CIE-LCHlch(63.16, 77.34, 130.82°)
OKLaboklab(66.57% -0.1403 0.1291)
OKLCHoklch(66.57% 0.191 137.4)
XYZxyz(18.6700, 31.7785, 6.4461)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52AD1F #7A1FAD
analogous
#99AD1F #52AD1F #1FAD33
triadic
#52AD1F #1F52AD #AD1F52
tetradic
#52AD1F #1F99AD #7A1FAD #AD331F
square
#52AD1F #1F99AD #7A1FAD #AD331F
split-complementary
#52AD1F #331FAD #AD1F99
monochromatic
#21450C #397916 #52AD1F #6DDA2F #91E363

Accessibility & contrast

On white

2.85
#52AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#52AD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52AD1F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52AD1F#FFFFFF#000000##000000
##52AD1F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#4CA793
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #52ad1f;
/* rgb */ color: rgb(82, 173, 31);
/* oklch */ color: oklch(66.6% 0.191 137.4);
Tailwind
colors: {
  custom: {
    50: '#8cc668',
    500: '#52ad1f',
    950: '#000000',
  },
}
SCSS
$custom: #52ad1f;
$custom-light: #8cc668;
$custom-dark: #000000;
JSON
{
  "hex": "#52ad1f",
  "rgb": {
    "r": 82,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 98.451,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.66568,
    "c": 0.19069,
    "h": 137.4
  },
  "luminance": 0.3178
}

Semantic roles & 50–950 ramp

primary
#52AD1F
secondary
#A360C8
accent
#3BECAD
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52AD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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