#3D791D#3D791D

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

Color values

HEX#3D791D
RGBrgb(61, 121, 29)
HSLhsl(99, 61%, 29%)
HSVhsv(99, 76%, 47%)
CMYKcmyk(49.6%, 0%, 76%, 52.5%)
CIE-LABlab(45.30, -36.45, 41.87)
CIE-LCHlch(45.30, 55.52, 131.04°)
OKLaboklab(51.63% -0.1011 0.0943)
OKLCHoklch(51.63% 0.138 137)
XYZxyz(8.9833, 14.7549, 3.5368)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D791D #591D79
analogous
#6B791D #3D791D #1D792B
triadic
#3D791D #1D3D79 #791D3D
tetradic
#3D791D #1D6B79 #591D79 #792B1D
square
#3D791D #1D6B79 #591D79 #792B1D
split-complementary
#3D791D #2B1D79 #791D6B
monochromatic
#0C1906 #244811 #3D791D #56AA29 #72D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D791D#FFFFFF#000000##FFFFFF
##3D791D1.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)
#7D6E0C
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d791d;
/* rgb */ color: rgb(61, 121, 29);
/* oklch */ color: oklch(51.6% 0.138 137.0);
Tailwind
colors: {
  custom: {
    50: '#79a060',
    500: '#3d791d',
    950: '#000000',
  },
}
SCSS
$custom: #3d791d;
$custom-light: #79a060;
$custom-dark: #000000;
JSON
{
  "hex": "#3d791d",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 99.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.13825,
    "h": 137
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#3D791D
secondary
#8945AD
accent
#43E4AC
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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