#52A81F#52A81F

#52A81F is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.3% C 0.185 H 137.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#52A81F
RGBrgb(82, 168, 31)
HSLhsl(98, 69%, 39%)
HSVhsv(98, 82%, 66%)
CMYKcmyk(51.2%, 0%, 81.5%, 34.1%)
CIE-LABlab(61.56, -48.65, 57.07)
CIE-LCHlch(61.56, 74.99, 130.45°)
OKLaboklab(65.26% -0.1352 0.1261)
OKLCHoklch(65.26% 0.185 137)
XYZxyz(17.7291, 29.8967, 6.1325)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A81F #751FA8
analogous
#97A81F #52A81F #1FA831
triadic
#52A81F #1F52A8 #A81F52
tetradic
#52A81F #1F97A8 #751FA8 #A8311F
square
#52A81F #1F97A8 #751FA8 #A8311F
split-complementary
#52A81F #311FA8 #A81F97
monochromatic
#20410C #397415 #52A81F #6CD82C #90E260

Accessibility & contrast

On white

3.01
#52A81F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#52A81F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A81F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A81F#FFFFFF#000000##000000
##52A81F1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#4DA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #52a81f;
/* rgb */ color: rgb(82, 168, 31);
/* oklch */ color: oklch(65.3% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bc267',
    500: '#52a81f',
    950: '#000000',
  },
}
SCSS
$custom: #52a81f;
$custom-light: #8bc267;
$custom-dark: #000000;
JSON
{
  "hex": "#52a81f",
  "rgb": {
    "r": 82,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 97.664,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.18486,
    "h": 137
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#52A81F
secondary
#9F5DC6
accent
#3CECAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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