#52A01F#52A01F

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

Color values

HEX#52A01F
RGBrgb(82, 160, 31)
HSLhsl(96, 68%, 37%)
HSVhsv(96, 81%, 63%)
CMYKcmyk(48.8%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.01, -45.52, 54.70)
CIE-LCHlch(59.01, 71.16, 129.77°)
OKLaboklab(63.15% -0.1268 0.1211)
OKLCHoklch(63.15% 0.175 136.3)
XYZxyz(16.2974, 27.0333, 5.6552)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A01F #6D1FA0
analogous
#93A01F #52A01F #1FA02D
triadic
#52A01F #1F52A0 #A01F52
tetradic
#52A01F #1F93A0 #6D1FA0 #A02D1F
square
#52A01F #1F93A0 #6D1FA0 #A02D1F
split-complementary
#52A01F #2D1FA0 #A01F93
monochromatic
#1D390B #386D15 #52A01F #6CD329 #8FDF5A

Accessibility & contrast

On white

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

On black

6.41
#52A01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A01F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A01F#FFFFFF#000000##000000
##52A01F1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52a01f;
/* rgb */ color: rgb(82, 160, 31);
/* oklch */ color: oklch(63.1% 0.175 136.3);
Tailwind
colors: {
  custom: {
    50: '#8abd66',
    500: '#52a01f',
    950: '#000000',
  },
}
SCSS
$custom: #52a01f;
$custom-light: #8abd66;
$custom-dark: #000000;
JSON
{
  "hex": "#52a01f",
  "rgb": {
    "r": 82,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 96.279,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.17535,
    "h": 136.3
  },
  "luminance": 0.27034
}

Semantic roles & 50–950 ramp

primary
#52A01F
secondary
#9958C3
accent
#3DEAA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #52A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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