#52971C#52971C

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

Color values

HEX#52971C
RGBrgb(82, 151, 28)
HSLhsl(94, 69%, 35%)
HSVhsv(94, 81%, 59%)
CMYKcmyk(45.7%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.10, -42.04, 52.90)
CIE-LCHlch(56.10, 67.57, 128.47°)
OKLaboklab(60.75% -0.1177 0.1169)
OKLCHoklch(60.75% 0.166 135.2)
XYZxyz(14.7555, 24.0100, 4.9553)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52971C #611C97
analogous
#8F971C #52971C #1C9724
triadic
#52971C #1C5297 #971C52
tetradic
#52971C #1C8F97 #611C97 #97241C
square
#52971C #1C8F97 #611C97 #97241C
split-complementary
#52971C #241C97 #971C8F
monochromatic
#1A3009 #366312 #52971C #6ECB26 #8EDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #52971c;
/* rgb */ color: rgb(82, 151, 28);
/* oklch */ color: oklch(60.8% 0.166 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b664',
    500: '#52971c',
    950: '#000000',
  },
}
SCSS
$custom: #52971c;
$custom-light: #89b664;
$custom-dark: #000000;
JSON
{
  "hex": "#52971c",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 93.659,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.16582,
    "h": 135.2
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#52971C
secondary
#8E4EC1
accent
#3CEC9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52971C

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

Preview Lab → · Contrast checker → · Palette generator →

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