#52B41F#52B41F

#52B41F is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.199 H 137.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#52B41F
RGBrgb(82, 180, 31)
HSLhsl(99, 71%, 41%)
HSVhsv(99, 83%, 71%)
CMYKcmyk(54.4%, 0%, 82.8%, 29.4%)
CIE-LABlab(65.38, -53.16, 60.56)
CIE-LCHlch(65.38, 80.58, 131.28°)
OKLaboklab(68.4% -0.1473 0.1334)
OKLCHoklch(68.4% 0.199 137.8)
XYZxyz(20.0476, 34.5337, 6.9053)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B41F #811FB4
analogous
#9DB41F #52B41F #1FB437
triadic
#52B41F #1F52B4 #B41F52
tetradic
#52B41F #1F9DB4 #811FB4 #B4371F
square
#52B41F #1F9DB4 #811FB4 #B4371F
split-complementary
#52B41F #371FB4 #B41F9D
monochromatic
#224C0D #3A8016 #52B41F #6EDC34 #93E568

Accessibility & contrast

On white

2.66
#52B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#52B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52B41F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52B41F#FFFFFF#000000##000000
##52B41F1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#4AAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #52b41f;
/* rgb */ color: rgb(82, 180, 31);
/* oklch */ color: oklch(68.4% 0.199 137.8);
Tailwind
colors: {
  custom: {
    50: '#8dcb69',
    500: '#52b41f',
    950: '#000000',
  },
}
SCSS
$custom: #52b41f;
$custom-light: #8dcb69;
$custom-dark: #000000;
JSON
{
  "hex": "#52b41f",
  "rgb": {
    "r": 82,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 99.463,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68403,
    "c": 0.19873,
    "h": 137.8
  },
  "luminance": 0.34535
}

Semantic roles & 50–950 ramp

primary
#52B41F
secondary
#A864CB
accent
#3AEDB0
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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