#3D8A1F#3D8A1F

#3D8A1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.159 H 138.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3D8A1F
RGBrgb(61, 138, 31)
HSLhsl(103, 63%, 33%)
HSVhsv(103, 78%, 54%)
CMYKcmyk(55.8%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.00, -43.22, 46.77)
CIE-LCHlch(51.00, 63.68, 132.74°)
OKLaboklab(56.33% -0.1192 0.1048)
OKLCHoklch(56.33% 0.159 138.7)
XYZxyz(11.2598, 19.2671, 4.4216)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8A1F #6C1F8A
analogous
#728A1F #3D8A1F #1F8A37
triadic
#3D8A1F #1F3D8A #8A1F3D
tetradic
#3D8A1F #1F728A #6C1F8A #8A371F
square
#3D8A1F #1F728A #6C1F8A #8A371F
split-complementary
#3D8A1F #371F8A #8A1F72
monochromatic
#112609 #275814 #3D8A1F #53BC2A #73D74C

Accessibility & contrast

On white

4.33
#3D8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3D8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8A1F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8A1F#FFFFFF#000000##000000
##3D8A1F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#368576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3d8a1f;
/* rgb */ color: rgb(61, 138, 31);
/* oklch */ color: oklch(56.3% 0.159 138.7);
Tailwind
colors: {
  custom: {
    50: '#7bad63',
    500: '#3d8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #3d8a1f;
$custom-light: #7bad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8a1f",
  "rgb": {
    "r": 61,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 103.178,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.15876,
    "h": 138.7
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#3D8A1F
secondary
#9B4BBA
accent
#41E6B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3D8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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