#3D981F#3D981F

#3D981F is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.2% C 0.176 H 139.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3D981F
RGBrgb(61, 152, 31)
HSLhsl(105, 66%, 36%)
HSVhsv(105, 80%, 60%)
CMYKcmyk(59.9%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.63, -48.53, 51.24)
CIE-LCHlch(55.63, 70.57, 133.44°)
OKLaboklab(60.15% -0.1335 0.1142)
OKLCHoklch(60.15% 0.176 139.5)
XYZxyz(13.3995, 23.5463, 5.1348)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D981F #7A1F98
analogous
#79981F #3D981F #1F983D
triadic
#3D981F #1F3D98 #981F3D
tetradic
#3D981F #1F7998 #7A1F98 #983D1F
square
#3D981F #1F7998 #7A1F98 #983D1F
split-complementary
#3D981F #3D1F98 #981F79
monochromatic
#14320A #296515 #3D981F #51CB29 #77DC55

Accessibility & contrast

On white

3.68
#3D981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#3D981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D981F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D981F#FFFFFF#000000##000000
##3D981F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#329382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3d981f;
/* rgb */ color: rgb(61, 152, 31);
/* oklch */ color: oklch(60.2% 0.176 139.5);
Tailwind
colors: {
  custom: {
    50: '#7eb765',
    500: '#3d981f',
    950: '#000000',
  },
}
SCSS
$custom: #3d981f;
$custom-light: #7eb765;
$custom-dark: #000000;
JSON
{
  "hex": "#3d981f",
  "rgb": {
    "r": 61,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 105.124,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.17566,
    "h": 139.5
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

primary
#3D981F
secondary
#A553C0
accent
#3FE9BF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3D981F

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

Preview Lab → · Contrast checker → · Palette generator →

#3D981F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva