#3D7E1B#3D7E1B

#3D7E1B is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.146 H 137.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3D7E1B
RGBrgb(61, 126, 27)
HSLhsl(99, 65%, 30%)
HSVhsv(99, 79%, 49%)
CMYKcmyk(51.6%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.96, -38.68, 44.26)
CIE-LCHlch(46.96, 58.78, 131.16°)
OKLaboklab(52.99% -0.1073 0.099)
OKLCHoklch(52.99% 0.146 137.3)
XYZxyz(9.5828, 15.9923, 3.6185)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7E1B #5C1B7E
analogous
#6E7E1B #3D7E1B #1B7E2B
triadic
#3D7E1B #1B3D7E #7E1B3D
tetradic
#3D7E1B #1B6E7E #5C1B7E #7E2B1B
square
#3D7E1B #1B6E7E #5C1B7E #7E2B1B
split-complementary
#3D7E1B #2B1B7E #7E1B6E
monochromatic
#0C1905 #254C10 #3D7E1B #55B026 #72D63E

Accessibility & contrast

On white

5.00
#3D7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3D7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7E1B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7E1B#FFFFFF#000000##FFFFFF
##3D7E1B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#39796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3d7e1b;
/* rgb */ color: rgb(61, 126, 27);
/* oklch */ color: oklch(53.0% 0.146 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa45f',
    500: '#3d7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #3d7e1b;
$custom-light: #7aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7e1b",
  "rgb": {
    "r": 61,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 99.394,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.14595,
    "h": 137.3
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#3D7E1B
secondary
#8C43B2
accent
#40E8AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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