#52A71D#52A71D

#52A71D is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.0% C 0.185 H 136.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#52A71D
RGBrgb(82, 167, 29)
HSLhsl(97, 70%, 38%)
HSVhsv(97, 83%, 65%)
CMYKcmyk(50.9%, 0%, 82.6%, 34.5%)
CIE-LABlab(61.24, -48.36, 57.33)
CIE-LCHlch(61.24, 75.00, 130.15°)
OKLaboklab(64.98% -0.1346 0.1263)
OKLCHoklch(64.98% 0.185 136.8)
XYZxyz(17.5196, 29.5187, 5.9367)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A71D #721DA7
analogous
#97A71D #52A71D #1DA72D
triadic
#52A71D #1D52A7 #A71D52
tetradic
#52A71D #1D97A7 #721DA7 #A72D1D
square
#52A71D #1D97A7 #721DA7 #A72D1D
split-complementary
#52A71D #2D1DA7 #A71D97
monochromatic
#1F3F0B #387314 #52A71D #6CDA28 #90E35C

Accessibility & contrast

On white

3.04
#52A71D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#52A71D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A71D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A71D#FFFFFF#000000##000000
##52A71D1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#4DA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #52a71d;
/* rgb */ color: rgb(82, 167, 29);
/* oklch */ color: oklch(65.0% 0.185 136.8);
Tailwind
colors: {
  custom: {
    50: '#8bc267',
    500: '#52a71d',
    950: '#000000',
  },
}
SCSS
$custom: #52a71d;
$custom-light: #8bc267;
$custom-dark: #000000;
JSON
{
  "hex": "#52a71d",
  "rgb": {
    "r": 82,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 96.957,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64982,
    "c": 0.18455,
    "h": 136.8
  },
  "luminance": 0.2952
}

Semantic roles & 50–950 ramp

primary
#52A71D
secondary
#9D59C7
accent
#3BEDA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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