#52A017#52A017

#52A017 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.179 H 135.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#52A017
RGBrgb(82, 160, 23)
HSLhsl(94, 75%, 36%)
HSVhsv(94, 86%, 63%)
CMYKcmyk(48.8%, 0%, 85.6%, 37.3%)
CIE-LABlab(58.97, -45.90, 56.85)
CIE-LCHlch(58.97, 73.07, 128.92°)
OKLaboklab(63.11% -0.1283 0.1244)
OKLCHoklch(63.11% 0.179 135.9)
XYZxyz(16.2047, 26.9962, 5.1674)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A017 #6517A0
analogous
#96A017 #52A017 #17A021
triadic
#52A017 #1752A0 #A01752
tetradic
#52A017 #1796A0 #6517A0 #A02117
square
#52A017 #1796A0 #6517A0 #A02117
split-complementary
#52A017 #2117A0 #A01796
monochromatic
#1B3508 #376A0F #52A017 #6DD61F #8EE54C

Accessibility & contrast

On white

3.28
#52A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#52A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A017
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A017#FFFFFF#000000##000000
##52A0171.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#4F9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #52a017;
/* rgb */ color: rgb(82, 160, 23);
/* oklch */ color: oklch(63.1% 0.179 135.9);
Tailwind
colors: {
  custom: {
    50: '#8bbd63',
    500: '#52a017',
    950: '#000000',
  },
}
SCSS
$custom: #52a017;
$custom-light: #8bbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#52a017",
  "rgb": {
    "r": 82,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 94.161,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.17871,
    "h": 135.9
  },
  "luminance": 0.26997
}

Semantic roles & 50–950 ramp

primary
#52A017
secondary
#924CC7
accent
#36F1A1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A017

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

Preview Lab → · Contrast checker → · Palette generator →

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