#3D781F#3D781F

#3D781F is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.136 H 137.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3D781F
RGBrgb(61, 120, 31)
HSLhsl(100, 59%, 30%)
HSVhsv(100, 74%, 47%)
CMYKcmyk(49.2%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.97, -35.87, 40.75)
CIE-LCHlch(44.97, 54.29, 131.36°)
OKLaboklab(51.37% -0.0994 0.0922)
OKLCHoklch(51.37% 0.136 137.1)
XYZxyz(8.8880, 14.5234, 3.6310)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D781F #5A1F78
analogous
#6A781F #3D781F #1F782E
triadic
#3D781F #1F3D78 #781F3D
tetradic
#3D781F #1F6A78 #5A1F78 #782E1F
square
#3D781F #1F6A78 #5A1F78 #782E1F
split-complementary
#3D781F #2E1F78 #781F6A
monochromatic
#0C1806 #244712 #3D781F #56A92C #72CE43

Accessibility & contrast

On white

5.38
#3D781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3D781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D781F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D781F#FFFFFF#000000##FFFFFF
##3D781F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#3A7466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d781f;
/* rgb */ color: rgb(61, 120, 31);
/* oklch */ color: oklch(51.4% 0.136 137.1);
Tailwind
colors: {
  custom: {
    50: '#789f61',
    500: '#3d781f',
    950: '#000000',
  },
}
SCSS
$custom: #3d781f;
$custom-light: #789f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3d781f",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 99.775,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.13562,
    "h": 137.1
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#3D781F
secondary
#8A47AB
accent
#46E2AD
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D781F

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

Preview Lab → · Contrast checker → · Palette generator →

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