#52A11F#52A11F

#52A11F is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.4% C 0.177 H 136.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#52A11F
RGBrgb(82, 161, 31)
HSLhsl(96, 68%, 38%)
HSVhsv(96, 81%, 63%)
CMYKcmyk(49.1%, 0%, 80.7%, 36.9%)
CIE-LABlab(59.33, -45.92, 55.00)
CIE-LCHlch(59.33, 71.65, 129.86°)
OKLaboklab(63.41% -0.1279 0.1217)
OKLCHoklch(63.41% 0.177 136.4)
XYZxyz(16.4714, 27.3814, 5.7133)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A11F #6E1FA1
analogous
#93A11F #52A11F #1FA12D
triadic
#52A11F #1F52A1 #A11F52
tetradic
#52A11F #1F93A1 #6E1FA1 #A12D1F
square
#52A11F #1F93A1 #6E1FA1 #A12D1F
split-complementary
#52A11F #2D1FA1 #A11F93
monochromatic
#1E3A0B #386E15 #52A11F #6CD429 #8FDF5B

Accessibility & contrast

On white

3.24
#52A11F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#52A11F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A11F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A11F#FFFFFF#000000##000000
##52A11F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#4E9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #52a11f;
/* rgb */ color: rgb(82, 161, 31);
/* oklch */ color: oklch(63.4% 0.177 136.4);
Tailwind
colors: {
  custom: {
    50: '#8bbd66',
    500: '#52a11f',
    950: '#000000',
  },
}
SCSS
$custom: #52a11f;
$custom-light: #8bbd66;
$custom-dark: #000000;
JSON
{
  "hex": "#52a11f",
  "rgb": {
    "r": 82,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 96.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63411,
    "c": 0.17654,
    "h": 136.4
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#52A11F
secondary
#9958C4
accent
#3DEBA7
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #52A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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