#52A41F#52A41F

#52A41F is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.2% C 0.180 H 136.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#52A41F
RGBrgb(82, 164, 31)
HSLhsl(97, 68%, 38%)
HSVhsv(97, 81%, 64%)
CMYKcmyk(50%, 0%, 81.1%, 35.7%)
CIE-LABlab(60.29, -47.10, 55.89)
CIE-LCHlch(60.29, 73.09, 130.12°)
OKLaboklab(64.2% -0.1311 0.1236)
OKLCHoklch(64.2% 0.18 136.7)
XYZxyz(17.0020, 28.4425, 5.8901)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A41F #711FA4
analogous
#94A41F #52A41F #1FA42E
triadic
#52A41F #1F52A4 #A41F52
tetradic
#52A41F #1F94A4 #711FA4 #A42E1F
square
#52A41F #1F94A4 #711FA4 #A42E1F
split-complementary
#52A41F #2E1FA4 #A41F94
monochromatic
#1F3D0C #387115 #52A41F #6CD72A #8FE05D

Accessibility & contrast

On white

3.14
#52A41F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#52A41F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A41F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A41F#FFFFFF#000000##000000
##52A41F1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#4D9E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #52a41f;
/* rgb */ color: rgb(82, 164, 31);
/* oklch */ color: oklch(64.2% 0.180 136.7);
Tailwind
colors: {
  custom: {
    50: '#8bc067',
    500: '#52a41f',
    950: '#000000',
  },
}
SCSS
$custom: #52a41f;
$custom-light: #8bc067;
$custom-dark: #000000;
JSON
{
  "hex": "#52a41f",
  "rgb": {
    "r": 82,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 96.992,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64202,
    "c": 0.18013,
    "h": 136.7
  },
  "luminance": 0.28444
}

Semantic roles & 50–950 ramp

primary
#52A41F
secondary
#9C5AC5
accent
#3DEBA8
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A41F

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

Preview Lab → · Contrast checker → · Palette generator →

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