#3D791E#3D791E

#3D791E is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.138 H 137.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3D791E
RGBrgb(61, 121, 30)
HSLhsl(100, 60%, 30%)
HSVhsv(100, 75%, 47%)
CMYKcmyk(49.6%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.30, -36.38, 41.49)
CIE-LCHlch(45.30, 55.18, 131.25°)
OKLaboklab(51.64% -0.1009 0.0936)
OKLCHoklch(51.64% 0.138 137.1)
XYZxyz(8.9959, 14.7600, 3.6030)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D791E #5A1E79
analogous
#6B791E #3D791E #1E792C
triadic
#3D791E #1E3D79 #791E3D
tetradic
#3D791E #1E6B79 #5A1E79 #792C1E
square
#3D791E #1E6B79 #5A1E79 #792C1E
split-complementary
#3D791E #2C1E79 #791E6B
monochromatic
#0C1906 #244812 #3D791E #56AA2A #72D041

Accessibility & contrast

On white

5.31
#3D791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3D791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D791E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D791E#FFFFFF#000000##FFFFFF
##3D791E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#397467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d791e;
/* rgb */ color: rgb(61, 121, 30);
/* oklch */ color: oklch(51.6% 0.138 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a060',
    500: '#3d791e',
    950: '#000000',
  },
}
SCSS
$custom: #3d791e;
$custom-light: #79a060;
$custom-dark: #000000;
JSON
{
  "hex": "#3d791e",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 99.56,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.13761,
    "h": 137.1
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#3D791E
secondary
#8A46AD
accent
#44E3AD
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3D791E

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

Preview Lab → · Contrast checker → · Palette generator →

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