#3D7B1B#3D7B1B

#3D7B1B is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.142 H 137.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3D7B1B
RGBrgb(61, 123, 27)
HSLhsl(99, 64%, 29%)
HSVhsv(99, 78%, 48%)
CMYKcmyk(50.4%, 0%, 78%, 51.8%)
CIE-LABlab(45.96, -37.44, 43.27)
CIE-LCHlch(45.96, 57.22, 130.87°)
OKLaboklab(52.16% -0.1039 0.0969)
OKLCHoklch(52.16% 0.142 137)
XYZxyz(9.2050, 15.2365, 3.4926)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B1B #591B7B
analogous
#6D7B1B #3D7B1B #1B7B29
triadic
#3D7B1B #1B3D7B #7B1B3D
tetradic
#3D7B1B #1B6D7B #591B7B #7B291B
square
#3D7B1B #1B6D7B #591B7B #7B291B
split-complementary
#3D7B1B #291B7B #7B1B6D
monochromatic
#0C1906 #244910 #3D7B1B #56AD26 #72D43C

Accessibility & contrast

On white

5.19
#3D7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3D7B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7B1B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7B1B#FFFFFF#000000##FFFFFF
##3D7B1B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#397669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3d7b1b;
/* rgb */ color: rgb(61, 123, 27);
/* oklch */ color: oklch(52.2% 0.142 137.0);
Tailwind
colors: {
  custom: {
    50: '#79a25f',
    500: '#3d7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b1b;
$custom-light: #79a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b1b",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 98.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.1421,
    "h": 137
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#3D7B1B
secondary
#8943AF
accent
#41E7AC
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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