#52971E#52971E

#52971E 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#52971E
RGBrgb(82, 151, 30)
HSLhsl(94, 67%, 35%)
HSVhsv(94, 80%, 59%)
CMYKcmyk(45.7%, 0%, 80.1%, 40.8%)
CIE-LABlab(56.11, -41.93, 52.30)
CIE-LCHlch(56.11, 67.03, 128.72°)
OKLaboklab(60.77% -0.1172 0.1159)
OKLCHoklch(60.77% 0.165 135.3)
XYZxyz(14.7803, 24.0199, 5.0855)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52971E #631E97
analogous
#8E971E #52971E #1E9726
triadic
#52971E #1E5297 #971E52
tetradic
#52971E #1E8E97 #631E97 #97261E
square
#52971E #1E8E97 #631E97 #97261E
split-complementary
#52971E #261E97 #971E8E
monochromatic
#1B310A #366414 #52971E #6ECA28 #8EDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #52971e;
/* rgb */ color: rgb(82, 151, 30);
/* oklch */ color: oklch(60.8% 0.165 135.3);
Tailwind
colors: {
  custom: {
    50: '#89b665',
    500: '#52971e',
    950: '#000000',
  },
}
SCSS
$custom: #52971e;
$custom-light: #89b665;
$custom-dark: #000000;
JSON
{
  "hex": "#52971e",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 94.215,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.16486,
    "h": 135.3
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#52971E
secondary
#9051C0
accent
#3EEAA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52971E

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

Preview Lab → · Contrast checker → · Palette generator →

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