#52971D#52971D

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

Color values

HEX#52971D
RGBrgb(82, 151, 29)
HSLhsl(94, 68%, 35%)
HSVhsv(94, 81%, 59%)
CMYKcmyk(45.7%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.10, -41.99, 52.60)
CIE-LCHlch(56.10, 67.31, 128.60°)
OKLaboklab(60.76% -0.1175 0.1164)
OKLCHoklch(60.76% 0.165 135.3)
XYZxyz(14.7677, 24.0149, 5.0193)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52971D #621D97
analogous
#8F971D #52971D #1D9725
triadic
#52971D #1D5297 #971D52
tetradic
#52971D #1D8F97 #621D97 #97251D
square
#52971D #1D8F97 #621D97 #97251D
split-complementary
#52971D #251D97 #971D8F
monochromatic
#1A3009 #366413 #52971D #6ECA27 #8EDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52971D#FFFFFF#000000##000000
##52971D1.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)
#94842B
Tritanopia (blue-blind)
#509181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #52971d;
/* rgb */ color: rgb(82, 151, 29);
/* oklch */ color: oklch(60.8% 0.165 135.3);
Tailwind
colors: {
  custom: {
    50: '#89b664',
    500: '#52971d',
    950: '#000000',
  },
}
SCSS
$custom: #52971d;
$custom-light: #89b664;
$custom-dark: #000000;
JSON
{
  "hex": "#52971d",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 93.934,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.16535,
    "h": 135.3
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#52971D
secondary
#8F4FC0
accent
#3DEB9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52971D

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

Preview Lab → · Contrast checker → · Palette generator →

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