#3D791A#3D791A

#3D791A is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.140 H 136.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3D791A
RGBrgb(61, 121, 26)
HSLhsl(98, 65%, 29%)
HSVhsv(98, 79%, 47%)
CMYKcmyk(49.6%, 0%, 78.5%, 52.5%)
CIE-LABlab(45.28, -36.67, 42.98)
CIE-LCHlch(45.28, 56.49, 130.47°)
OKLaboklab(51.61% -0.1019 0.0961)
OKLCHoklch(51.61% 0.14 136.7)
XYZxyz(8.9480, 14.7408, 3.3508)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D791A #561A79
analogous
#6D791A #3D791A #1A7927
triadic
#3D791A #1A3D79 #791A3D
tetradic
#3D791A #1A6D79 #561A79 #79271A
square
#3D791A #1A6D79 #561A79 #79271A
split-complementary
#3D791A #271A79 #791A6D
monochromatic
#0D1905 #24470F #3D791A #56AB25 #72D439

Accessibility & contrast

On white

5.32
#3D791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D791A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D791A#FFFFFF#000000##FFFFFF
##3D791A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d791a;
/* rgb */ color: rgb(61, 121, 26);
/* oklch */ color: oklch(51.6% 0.140 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a05e',
    500: '#3d791a',
    950: '#000000',
  },
}
SCSS
$custom: #3d791a;
$custom-light: #79a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d791a",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 97.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.1401,
    "h": 136.7
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#3D791A
secondary
#8641AD
accent
#40E8AA
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D791A

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

Preview Lab → · Contrast checker → · Palette generator →

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