#52981E#52981E

#52981E is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.0% C 0.166 H 135.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#52981E
RGBrgb(82, 152, 30)
HSLhsl(94, 67%, 36%)
HSVhsv(94, 80%, 60%)
CMYKcmyk(46.1%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.43, -42.34, 52.60)
CIE-LCHlch(56.43, 67.53, 128.84°)
OKLaboklab(61.03% -0.1184 0.1165)
OKLCHoklch(61.03% 0.166 135.4)
XYZxyz(14.9419, 24.3431, 5.1394)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52981E #641E98
analogous
#8F981E #52981E #1E9827
triadic
#52981E #1E5298 #981E52
tetradic
#52981E #1E8F98 #641E98 #98271E
square
#52981E #1E8F98 #641E98 #98271E
split-complementary
#52981E #271E98 #981E8F
monochromatic
#1B320A #366514 #52981E #6ECB28 #8EDD53

Accessibility & contrast

On white

3.58
#52981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#52981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52981E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52981E#FFFFFF#000000##000000
##52981E1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#509282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #52981e;
/* rgb */ color: rgb(82, 152, 30);
/* oklch */ color: oklch(61.0% 0.166 135.4);
Tailwind
colors: {
  custom: {
    50: '#89b765',
    500: '#52981e',
    950: '#000000',
  },
}
SCSS
$custom: #52981e;
$custom-light: #89b765;
$custom-dark: #000000;
JSON
{
  "hex": "#52981e",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 94.426,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.1661,
    "h": 135.4
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#52981E
secondary
#9151C0
accent
#3EEAA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52981E

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

Preview Lab → · Contrast checker → · Palette generator →

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