#3D981B#3D981B

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

Color values

HEX#3D981B
RGBrgb(61, 152, 27)
HSLhsl(104, 70%, 35%)
HSVhsv(104, 82%, 60%)
CMYKcmyk(59.9%, 0%, 82.2%, 40.4%)
CIE-LABlab(55.61, -48.76, 52.45)
CIE-LCHlch(55.61, 71.61, 132.91°)
OKLaboklab(60.13% -0.1344 0.1161)
OKLCHoklch(60.13% 0.178 139.2)
XYZxyz(13.3500, 23.5265, 4.8743)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D981B #761B98
analogous
#7B981B #3D981B #1B9838
triadic
#3D981B #1B3D98 #981B3D
tetradic
#3D981B #1B7B98 #761B98 #98381B
square
#3D981B #1B7B98 #761B98 #98381B
split-complementary
#3D981B #381B98 #981B7B
monochromatic
#133009 #286412 #3D981B #52CC24 #75E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D981B#FFFFFF#000000##000000
##3D981B1.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)
#9D8A00
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#339381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3d981b;
/* rgb */ color: rgb(61, 152, 27);
/* oklch */ color: oklch(60.1% 0.178 139.2);
Tailwind
colors: {
  custom: {
    50: '#7eb763',
    500: '#3d981b',
    950: '#000000',
  },
}
SCSS
$custom: #3d981b;
$custom-light: #7eb763;
$custom-dark: #000000;
JSON
{
  "hex": "#3d981b",
  "rgb": {
    "r": 61,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 103.68,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.17757,
    "h": 139.2
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#3D981B
secondary
#A24DC2
accent
#3BEDBC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3D981B

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

Preview Lab → · Contrast checker → · Palette generator →

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