#52971B#52971B

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

Color values

HEX#52971B
RGBrgb(82, 151, 27)
HSLhsl(93, 70%, 35%)
HSVhsv(93, 82%, 59%)
CMYKcmyk(45.7%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.09, -42.09, 53.19)
CIE-LCHlch(56.09, 67.83, 128.36°)
OKLaboklab(60.75% -0.1179 0.1173)
OKLCHoklch(60.75% 0.166 135.1)
XYZxyz(14.7438, 24.0053, 4.8933)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52971B #601B97
analogous
#90971B #52971B #1B9722
triadic
#52971B #1B5297 #971B52
tetradic
#52971B #1B9097 #601B97 #97221B
square
#52971B #1B9097 #601B97 #97221B
split-complementary
#52971B #221B97 #971B90
monochromatic
#1A2F08 #366312 #52971B #6ECB24 #8EDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52971B#FFFFFF#000000##000000
##52971B1.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)
#509180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #52971b;
/* rgb */ color: rgb(82, 151, 27);
/* oklch */ color: oklch(60.7% 0.166 135.1);
Tailwind
colors: {
  custom: {
    50: '#89b663',
    500: '#52971b',
    950: '#000000',
  },
}
SCSS
$custom: #52971b;
$custom-light: #89b663;
$custom-dark: #000000;
JSON
{
  "hex": "#52971b",
  "rgb": {
    "r": 82,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 93.387,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.16629,
    "h": 135.1
  },
  "luminance": 0.24006
}

Semantic roles & 50–950 ramp

primary
#52971B
secondary
#8E4CC1
accent
#3BEC9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52971B

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

Preview Lab → · Contrast checker → · Palette generator →

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