#52971A#52971A

#52971A is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.7% C 0.167 H 135.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#52971A
RGBrgb(82, 151, 26)
HSLhsl(93, 71%, 35%)
HSVhsv(93, 83%, 59%)
CMYKcmyk(45.7%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.09, -42.14, 53.48)
CIE-LCHlch(56.09, 68.08, 128.24°)
OKLaboklab(60.74% -0.118 0.1178)
OKLCHoklch(60.74% 0.167 135.1)
XYZxyz(14.7324, 24.0007, 4.8334)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52971A #5F1A97
analogous
#91971A #52971A #1A9721
triadic
#52971A #1A5297 #971A52
tetradic
#52971A #1A9197 #5F1A97 #97211A
square
#52971A #1A9197 #5F1A97 #97211A
split-complementary
#52971A #211A97 #971A91
monochromatic
#192F08 #366311 #52971A #6ECB23 #8EE04B

Accessibility & contrast

On white

3.62
#52971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#52971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52971A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52971A#FFFFFF#000000##000000
##52971A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#948429
Tritanopia (blue-blind)
#509180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #52971a;
/* rgb */ color: rgb(82, 151, 26);
/* oklch */ color: oklch(60.7% 0.167 135.1);
Tailwind
colors: {
  custom: {
    50: '#89b663',
    500: '#52971a',
    950: '#000000',
  },
}
SCSS
$custom: #52971a;
$custom-light: #89b663;
$custom-dark: #000000;
JSON
{
  "hex": "#52971a",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 93.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.16674,
    "h": 135.1
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#52971A
secondary
#8D4BC2
accent
#3AED9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52971A

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

Preview Lab → · Contrast checker → · Palette generator →

#52971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva