#3D901F#3D901F

#3D901F is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.166 H 139.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3D901F
RGBrgb(61, 144, 31)
HSLhsl(104, 65%, 34%)
HSVhsv(104, 78%, 56%)
CMYKcmyk(57.6%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.99, -45.53, 48.71)
CIE-LCHlch(52.99, 66.68, 133.07°)
OKLaboklab(57.97% -0.1255 0.1089)
OKLCHoklch(57.97% 0.166 139.1)
XYZxyz(12.1446, 21.0365, 4.7165)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D901F #721F90
analogous
#76901F #3D901F #1F903A
triadic
#3D901F #1F3D90 #901F3D
tetradic
#3D901F #1F7690 #721F90 #903A1F
square
#3D901F #1F7690 #721F90 #903A1F
split-complementary
#3D901F #3A1F90 #901F76
monochromatic
#122B09 #285E14 #3D901F #52C22A #75D950

Accessibility & contrast

On white

4.03
#3D901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#3D901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D901F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D901F#FFFFFF#000000##000000
##3D901F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#348B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3d901f;
/* rgb */ color: rgb(61, 144, 31);
/* oklch */ color: oklch(58.0% 0.166 139.1);
Tailwind
colors: {
  custom: {
    50: '#7cb164',
    500: '#3d901f',
    950: '#000000',
  },
}
SCSS
$custom: #3d901f;
$custom-light: #7cb164;
$custom-dark: #000000;
JSON
{
  "hex": "#3d901f",
  "rgb": {
    "r": 61,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 104.071,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.1661,
    "h": 139.1
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#3D901F
secondary
#9F4EBC
accent
#40E8BB
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3D901F

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

Preview Lab → · Contrast checker → · Palette generator →

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